html {
scroll-behavior: smooth;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI";
}
body {
padding-top: 65px;
background-color: #1c1c23;
color: white;
min-height: 100vh;
font-size: 1.5rem;
}
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 100;
display: flex;
justify-content: center;
align-items: center;
padding: 1.5rem 3rem;
background-color: #1c1c23;
}
.social-icons {
position: absolute;
right: 20px;
display: flex;
gap: 15px;
align-items: center; /* Ensures vertical alignment */
}
.social-icon {
color: #393947; /* Updated base color */
font-size: 35px;
transition: all 0.3s ease; /* Smooth transition for all changes */
}
.social-icon:hover {
color: #7557ec; /* Updated hover color */
transform: scale(1.1); /* Slight enlargement on hover */
}
/* Optional: Add a subtle animation */
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.social-icon:active {
animation: pulse 0.3s ease-in-out;
}
/* Modal styles */
.modal {
display: none;
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(0.9);
background-color: #2a2a33;
color: #fff;
padding: 30px;
border-radius: 25px;
box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
z-index: 1000;
opacity: 0;
transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
max-width: 90%;
width: 650px;
}
.modal.active {
display: block;
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
.modal-content {
text-align: left;
}
#overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(25, 25, 30, 0.9);
z-index: 999;
opacity: 0;
transition: opacity 0.4s ease-in-out;
backdrop-filter: blur(5px);
}
#navbar {
position: relative;
z-index: 1000; /* Выше, чем overlay */
background-color: #333; /* Пример фона navbar */
color: white;
padding: 10px;
}
#overlay.active {
display: block;
opacity: 1;
}
/* Кнопка для просмотра туториала */
.tutorial-link-container {
margin-bottom: 20px; /* Отступ снизу, чтобы было место для галочки */
text-align: center;
}
.tutorial-link {
display: inline-flex;
align-items: center;
justify-content: center;
color: #8e71fd;
text-decoration: none;
font-size: 18px;
font-weight: 600;
padding: 12px 24px;
border-radius: 8px;
background-color: rgba(142, 113, 253, 0.1);
transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 4px 6px rgba(142, 113, 253, 0.1);
position: relative;
overflow: hidden;
}
.tutorial-link:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(45deg, rgba(142, 113, 253, 0.1), rgba(142, 113, 253, 0.3));
opacity: 0;
transition: opacity 0.3s ease;
}
.tutorial-link:hover {
color: #fff;
background-color: #8e71fd;
transform: translateY(-3px);
box-shadow: 0 8px 15px rgba(142, 113, 253, 0.2);
}
.tutorial-link:hover:before {
opacity: 1;
}
.tutorial-link:active {
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(142, 113, 253, 0.2);
}
.tutorial-link i {
font-size: 24px;
margin-right: 12px;
transition: transform 0.3s ease;
}
.tutorial-link:hover i {
transform: translateX(3px);
}
.tutorial-link span {
position: relative;
z-index: 1;
}
/* Выравнивание галочки */
.checkbox-container {
display: flex;
align-items: center;
justify-content: center; /* Центрируем содержимое */
margin-bottom: 20px;
}
.checkbox-container label {
font-size: 14px;
color: #b3b3c2;
cursor: pointer;
user-select: none;
transition: color 0.3s ease;
}
.checkbox-container:hover label {
color: #fff;
}
input[type="checkbox"] {
appearance: none;
-webkit-appearance: none;
width: 24px;
height: 24px;
border: 2px solid #8e71fd;
border-radius: 6px;
margin-right: 12px;
cursor: pointer;
position: relative;
transition: all 0.3s ease;
background-color: rgba(142, 113, 253, 0.1);
}
input[type="checkbox"]:checked {
background-color: #8e71fd;
border-color: #8e71fd;
}
input[type="checkbox"]:checked::after {
content: '✓';
position: absolute;
color: #fff;
font-size: 16px;
font-weight: bold;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
input[type="checkbox"]:hover {
border-color: #7557ec;
background-color: rgba(142, 113, 253, 0.2);
}
/* Кнопка продолжения */
.continue-button {
margin-top: 5px;
padding: 14px 28px;
background-color: #8e71fd;
color: white;
border: none;
border-radius: 8px;
font-size: 16px;
font-weight: 600;
cursor: not-allowed;
opacity: 0.5;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(142, 113, 253, 0.2);
width: 100%;
text-transform: uppercase;
letter-spacing: 1px;
}
.continue-button.enabled {
cursor: pointer;
opacity: 1;
}
.continue-button.enabled:hover {
background-color: #7557ec;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(142, 113, 253, 0.3);
}
.continue-button.enabled:active {
transform: translateY(0);
box-shadow: 0 2px 10px rgba(142, 113, 253, 0.2);
}
/* Additional styles */
.modal h2 {
color: #8e71fd;
margin-bottom: 20px;
font-size: 28px;
font-weight: 700;
letter-spacing: 0.5px;
}
.modal p {
margin-bottom: 20px;
line-height: 1.6;
color: #b3b3c2;
font-size: 16px;
}
/* Keyframe animation for modal entrance */
@keyframes modalEnter {
from {
opacity: 0;
transform: translate(-50%, -60%) scale(0.9);
}
to {
opacity: 1;
transform: translate(-50%, -50%) scale(1);
}
}
.modal.active {
animation: modalEnter 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
/* Close button */
.close-button {
position: absolute;
top: 20px;
right: 20px;
background: none;
border: none;
color: #b3b3c2;
font-size: 24px;
cursor: pointer;
transition: color 0.3s ease;
}
.close-button:hover {
color: #fff;
}
/* Responsive adjustments */
@media (max-width: 600px) {
.modal {
padding: 30px;
width: 90%;
}
.modal h2 {
font-size: 24px;
}
.modal p {
font-size: 14px;
}
.continue-button {
padding: 12px 24px;
font-size: 14px;
}
}
.nav-links {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 20px;
line-height: 26px;
text-align: center;
letter-spacing: 0.04em;
color: #FFFFFF;
display: flex;
gap: 2rem;
align-items: center;
position: relative;
animation: fadeInNav 1s ease-in-out;
}
@keyframes fadeInNav {
0% { opacity: 0; transform: translateY(-20px); }
100% { opacity: 1; transform: translateY(0); }
}
.nav-links a {
position: relative;
color: white;
text-decoration: none;
font-size: 1.35rem;
transition: color 0.3s ease-in-out;
}
.nav-links a:hover {
color: #967bff;
}
.nav-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
background-color: #967bff;
bottom: -5px;
left: 0;
transition: width 0.3s ease-in-out;
}
.nav-links a:hover::after {
width: 100%;
}
.login-btn {
background-color: #7c5cfc;
border: none;
padding: 0.75rem 2.25rem;
border-radius: 15px;
cursor: pointer;
position: absolute;
right: 3rem; /* Кнопка "Войти" будет зафиксирована справа */
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 20px;
line-height: 26px;
text-align: center;
letter-spacing: 0.04em;
color: #FFFFFF;
}
.menu-toggle {
display: none;
}
/* Main Content Styles */
.main-content {
display: flex;
flex-direction: column;
align-items: center;
padding: 3rem;
gap: 3rem;
background-color: #1c1c23;
border-radius: 50px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
max-width: 800px; /* Устанавливает максимальную ширину */
margin: 0 auto; /* Центрирует блок */
border: 2px solid #292930; /* Толщина 2px, цвет #7c5cfc */
}
/* Стили для блока с текстами и иконкой */
.top-info {
text-align: center; /* Центрируем текст */
margin-bottom: 0.5rem; /* Уменьшаем отступ снизу */
}
.buy-text {
font-size: 5rem; /* Размер шрифта для текста "Покупай" */
color: white; /* Белый цвет */
font-weight: bold; /* Жирный шрифт */
display: block; /* Чтобы текст располагался на отдельной строке */
}
.course-info {
font-weight: bold; /* Жирный шрифт */
font-size: 2.75rem; /* Размер шрифта для текста "по курсу" */
color: #9276fe; /* Цвет текста для курса */
display: flex; /* Выравниваем по горизонтали */
justify-content: center;
align-items: center;
}
.course-text {
font-weight: bold; /* Жирный шрифт */
}
.course-rate {
font-weight: bold; /* Жирное начертание для курса */
margin-right: 5px; /* Уменьшаем отступ между курсом и иконкой */
}
.robuxtitle {
margin-top: 2px;
top: 15px;
width: 37.5px; /* Размер иконки */
height: auto;
}
/* Остальные стили для вашего контента остаются без изменений */
.title {
font-family: 'Jost', serif;
font-size: 5.25rem;
font-weight: 800;
text-align: center;
margin-bottom: 1rem;
color: #ffffff;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
letter-spacing: 0.05em;
transition: transform 0.3s ease;
}
.title:hover {
transform: scale(1.03);
}
@media (max-width: 768px) {
.title {
font-size: 3rem;
}
}
@media (prefers-reduced-motion: reduce) {
.title {
transition: none;
}
.title:hover {
transform: none;
}
}
.title-container {
position: relative;
text-align: center;
}
.subtitle {
display: flex; /* Для размещения текста и иконки в одну строку */
align-items: center; /* Выравнивание по вертикали */
justify-content: center; /* Выравнивание по центру */
font-size: 1.25rem; /* Размер шрифта */
font-weight: bold; /* Жирное начертание текста */
color: white; /* Белый цвет */
margin-bottom: 2rem; /* Уменьшаем отступ снизу */
}
.subtitle-text {
margin-right: 5px; /* Уменьшаем отступ между текстом и иконкой */
}
/* Стили для иконки рядом с текстом */
.subtitle-icon {
font-size: 1rem; /* Размер иконки */
color: white; /* Белый цвет для иконки */
}
.title {
font-size: 5rem; /* Уменьшаем немного размер, чтобы был баланс */
font-weight: 800;
text-align: center;
color: #ffffff;
text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
margin-top: 0.2rem; /* Уменьшаем отступ сверху */
}
.title:hover {
transform: scale(1.03);
}
@media (max-width: 768px) {
.title {
font-size: 3rem;
}
}
@media (prefers-reduced-motion: reduce) {
.title {
transition: none;
}
.title:hover {
transform: none;
}
}
/* Purchase Container Styles */
.purchase-container {
width: 100%;
max-width: 750px;
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.input-group {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1rem;
background-color: rgba(42, 42, 51, 0.5);
border-radius: 25px;
margin-bottom: 1rem;
}
.input-label {
color: #9898a3;
font-size: 1.35rem;
margin-bottom: 0.75rem;
}
.input-value {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 50px;
line-height: 26px;
text-align: left;
color: #FFFFFF;
width: 150px;
border-radius: 10px;
padding: 0.75rem;
width: 100%;
box-sizing: border-box;
outline: none; /* Убираем стандартное выделение */
border: none; /* Убираем границу */
background-color: transparent; /* Прозрачный фон */
}
.input-value:focus {
outline: none; /* Убираем фокусное выделение */
border: none;
}
.input-left {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.currency-badge, .robuxvalue {
background-color: #1c1c23;
padding: 1rem 1.6rem;
border-radius: 1.125rem;
display: flex;
align-items: center;
gap: 0.75rem;
font-family: 'Inter';
font-style: normal;
font-weight: 700;
font-size: 30px;
line-height: 26px;
color: rgba(255, 255, 255, 0.5);
}
.currency-badge img, .robuxvalue img {
width: 30px;
height: 30px;
object-fit: contain;
order: 2;
}
.slider-container {
position: relative;
width: 100%;
height: 45px;
margin-top: 2rem;
}
.slider {
-webkit-appearance: none;
width: 100%;
height: 9px;
background: #2c2c35;
border-radius: 4.5px;
outline: none;
opacity: 1;
transition: opacity .2s;
}
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 75px;
height: 36px;
background: #FBDC70;
border-radius: 18px;
cursor: pointer;
transition: all 0.3s ease;
opacity: 0;
}
.slider::-moz-range-thumb {
width: 75px;
height: 36px;
background: #FBDC70;
border-radius: 18px;
cursor: pointer;
transition: all 0.3s ease;
border: none;
opacity: 0;
}
.slider-thumb {
position: absolute;
top: 50%;
left: 0;
width: 75px;
height: 36px;
background: #FBDC70;
border-radius: 18px;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 20px;
color: #1c1c23;
pointer-events: none;
transform: translate(-50%, -50%);
transition: left 0.1s ease-out;
}
.slider-value {
position: absolute;
left: 0;
transform: translateX(-50%);
background: #FBDC70;
color: black;
padding: 5px 10px;
border-radius: 18px;
font-weight: bold;
font-size: 12px;
pointer-events: none;
opacity: 0;
transition: opacity 0.3s ease;
/* Добавляем выравнивание по центру */
text-align: center;
min-width: 60px;
}
.slider:hover + .slider-value,
.slider:active + .slider-value {
opacity: 1;
}
/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
.slider-container {
height: 40px;
margin-top: 1.5rem;
}
.slider {
height: 7px;
}
.slider::-webkit-slider-thumb {
width: 60px;
height: 30px;
border-radius: 15px;
}
.slider::-moz-range-thumb {
width: 60px;
height: 30px;
border-radius: 15px;
}
.slider-value {
top: -40px;
font-size: 14px;
padding: 4px 8px;
/* Исправляем позиционирование для мобильных */
left: calc(var(--value-percent, 0) * 1%);
transform: translateX(-50%);
min-width: 50px;
}
}
/* Медиа-запрос для очень маленьких экранов */
@media (max-width: 320px) {
.slider::-webkit-slider-thumb {
width: 50px;
height: 25px;
border-radius: 12.5px;
}
.slider::-moz-range-thumb {
width: 50px;
height: 25px;
border-radius: 12.5px;
}
.slider-value {
font-size: 12px;
padding: 3px 6px;
min-width: 40px;
}
}
.robux-amount {
position: absolute;
top: -35%;
transform: translateX(-50%) translateY(-50%);
background: #FBDC70;
padding: 6px 18px;
border-radius: 18px;
color: black;
font-weight: bold;
font-size: 1.35rem;
pointer-events: none;
}
/* Button Styles */
.buy-button {
background: linear-gradient(45deg, #7c5cfc, #967bff);
border: none;
padding: 1.5rem;
border-radius: 2rem;
cursor: pointer;
width: 100%;
margin-top: 0.75rem;
font-family: 'Inter', sans-serif;
font-weight: 800;
font-size: 25px;
line-height: 26px;
text-align: center;
letter-spacing: 0.04em;
color: #FFFFFF;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
box-shadow: 0 6px 30px -10px rgba(124, 92, 252, 0.5);
}
.buy-button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 40px -10px rgba(124, 92, 252, 0.7);
}
.buy-button:active {
transform: translateY(1px);
}
.buy-button::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
transform: scale(0);
transition: transform 0.6s ease-out;
}
.buy-button:hover::before {
transform: scale(1);
}
.buy-button::after {
content: '';
position: absolute;
top: -100%;
left: -100%;
width: 300%;
height: 300%;
background: linear-gradient(45deg, rgba(255,255,255,0.13) 0%, rgba(255,255,255,0) 60%);
transform: rotate(45deg);
transition: all 0.3s ease;
}
.buy-button:hover::after {
top: -30%;
left: -30%;
}
@keyframes pulse {
0% {
box-shadow: 0 0 0 0 rgba(124, 92, 252, 0.4);
}
70% {
box-shadow: 0 0 0 15px rgba(124, 92, 252, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(124, 92, 252, 0);
}
}
.buy-button {
animation: pulse 2s infinite;
}
/* Statistics Styles */
:root {
--primary-color: #7c5cfc;
--background-color: #22222a;
--card-background: rgba(28, 28, 35, 0.8);
--text-color: #ffffff;
--text-secondary: #9898a3;
--transition-speed: 0.5s;
}
.statistics {
margin: 6rem auto;
text-align: center;
max-width: 1200px;
padding: 0 20px;
}
.stats-title {
color: var(--text-secondary);
font-size: 2.5rem;
margin-bottom: 3rem;
position: relative;
display: inline-block;
text-transform: uppercase;
letter-spacing: 2px;
}
.stats-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 0;
width: 100%;
height: 3px;
background-color: var(--primary-color);
transform: scaleX(0);
transition: transform var(--transition-speed) ease;
}
.stats-title:hover::after {
transform: scaleX(1);
}
.stats-container {
display: flex;
gap: 3rem;
justify-content: center;
perspective: 1000px;
}
.stats-card {
flex: 1;
min-width: 380px;
max-width: 480px;
background-color: var(--card-background);
padding: 3.5rem;
border-radius: 50px;
text-align: center;
box-shadow: 0 10px 30px rgba(124, 92, 252, 0.1);
transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
opacity: 0;
transform: translateY(50px) rotateX(-10deg);
backdrop-filter: blur(10px);
border: 1px solid rgba(124, 92, 252, 0.2);
overflow: hidden;
position: relative;
}
.stats-card::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(124, 92, 252, 0.3) 0%, transparent 70%);
opacity: 0;
transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
}
.stats-card:hover::before {
opacity: 1;
transform: translate(25%, 25%);
}
.stats-card.animate {
animation: cardEntrance 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
.stats-card:hover {
transform: translateY(-15px) rotateX(5deg) scale(1.05);
box-shadow: 0 20px 40px rgba(124, 92, 252, 0.2);
}
.icon-container {
width: 125px;
height: 125px;
background-color: var(--background-color);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 2rem;
position: relative;
overflow: hidden;
transition: all var(--transition-speed) ease;
}
.icon-container::before {
content: '';
position: absolute;
inset: -2px;
background: conic-gradient(
from 0deg,
transparent 0deg 340deg,
var(--primary-color) 340deg 360deg
);
animation: rotate 4s linear infinite;
}
.icon-container::after {
content: '';
position: absolute;
inset: 5px;
background: var(--background-color);
border-radius: 50%;
z-index: 1;
}
.stats-card:hover .icon-container {
transform: scale(1.1) rotate(5deg);
}
.stat-icon {
width: 90px;
height: 90px;
position: relative;
z-index: 2;
transition: all var(--transition-speed) ease;
filter: drop-shadow(0 0 10px rgba(124, 92, 252, 0.5));
}
.stats-card:hover .stat-icon {
transform: scale(1.2);
filter: drop-shadow(0 0 15px rgba(124, 92, 252, 0.8));
}
.stats-value {
font-size: 2.75rem;
font-weight: bold;
color: var(--text-color);
margin-top: 1.5rem;
position: relative;
text-shadow: 0 0 10px rgba(124, 92, 252, 0.5);
transition: all var(--transition-speed) ease;
}
.stats-card:hover .stats-value {
transform: scale(1.1);
text-shadow: 0 0 20px rgba(124, 92, 252, 0.8);
}
.stats-value::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 0;
height: 3px;
background-color: var(--primary-color);
transition: width var(--transition-speed) ease;
}
.stats-card:hover .stats-value::after {
width: 60px;
}
.stats-label {
color: var(--text-secondary);
font-size: 1.5rem;
margin-top: 1.5rem;
transition: all var(--transition-speed) ease;
}
.stats-card:hover .stats-label {
color: var(--text-color);
}
@keyframes cardEntrance {
to {
opacity: 1;
transform: translateY(0) rotateX(0);
}
}
@keyframes rotate {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
@media (max-width: 768px) {
.stats-container {
flex-direction: column;
align-items: center;
flex-wrap: wrap;
}
.stats-card {
width: 100%;
max-width: none;
}
.stats-title {
font-size: 2rem;
}
.icon-container {
width: 120px;
height: 120px;
}
.stat-icon {
width: 80px;
height: 80px;
}
.stats-value {
font-size: 2rem;
}
.stats-label {
font-size: 1.75rem;
}
}
/* News Section Styles - Redesigned */
.news-section {
margin: 6rem auto;
text-align: center;
max-width: 1400px;
padding: 0 clamp(1rem, 5vw, 3rem);
}
.news-title {
color: #9898a3;
font-size: clamp(2.5rem, 5vw, 3.5rem);
margin-bottom: 3rem;
position: relative;
display: inline-block;
font-weight: 700;
letter-spacing: -0.02em;
}
.news-title::before,
.news-title::after {
content: '';
position: absolute;
height: 4px;
bottom: -10px;
background-color: #7c5cfc;
transition: width 0.4s ease-out, left 0.4s ease-out, right 0.4s ease-out;
}
.news-title::before {
left: 50%;
width: 0;
}
.news-title::after {
right: 50%;
width: 0;
}
.news-title:hover::before,
.news-title:hover::after {
width: 50%;
}
.news-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: clamp(1.5rem, 3vw, 2.5rem);
perspective: 1000px;
}
.news-card {
position: relative;
height: auto; /* Убираем фиксированную высоту */
min-height: 300px; /* Минимальная высота карточки */
border-radius: 20px;
overflow: hidden;
background-color: #f8f8f8;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
display: flex;
flex-direction: column; /* Важно для правильного размещения контента */
}
.news-card:hover {
transform: rotateY(10deg) translateZ(20px);
box-shadow: 0 15px 40px rgba(124, 92, 252, 0.2);
}
/* Добавляем класс для изображения */
.news-image {
width: 100%;
height: 100%;
object-fit: cover; /* Масштабируем изображение без искажений */
object-position: center; /* Центрируем изображение */
}
.news-content {
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 2rem;
color: white;
transform: translateY(100%);
transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
z-index: 1;
}
.news-card:hover .news-content {
transform: translateY(0);
}
.news-content h3 {
font-size: clamp(1.25rem, 3vw, 1.75rem);
margin-bottom: 1rem;
font-weight: 600;
opacity: 0;
transform: translateY(20px);
transition: opacity 0.4s ease, transform 0.4s ease;
}
.news-card:hover .news-content h3 {
opacity: 1;
transform: translateY(0);
}
.news-button {
background-color: #7c5cfc;
border: none;
padding: 0.8rem 2rem;
border-radius: 50px;
cursor: pointer;
font-weight: 600;
font-size: 1rem;
color: #FFFFFF;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
opacity: 0;
transform: translateY(20px);
transition: background-color 0.3s ease, transform 0.4s ease, opacity 0.4s ease;
}
.news-card:hover .news-button {
opacity: 1;
transform: translateY(0);
}
.news-button:hover,
.news-button:focus {
background-color: #654de6;
transform: translateY(-5px);
box-shadow: 0 5px 15px rgba(124, 92, 252, 0.4);
}
/* Медиазапросы для мобильных устройств */
@media (hover: none) {
.news-card::before {
opacity: 1;
}
.news-content {
transform: translateY(0);
}
.news-content h3,
.news-button {
opacity: 1;
transform: translateY(0);
}
}
@media (prefers-reduced-motion: reduce) {
.news-title::before,
.news-title::after,
.news-card,
.news-card-inner,
.news-content,
.news-content h3,
.news-button {
transition: none;
}
}
@media screen and (max-width: 768px) {
.news-section {
margin: 4rem auto;
}
.news-card {
min-height: 250px; /* Минимальная высота для карточки */
}
.news-image {
height: 100%; /* Делаем изображение растягивающимся по высоте */
object-fit: cover; /* Сохраняем cover для всех устройств */
object-position: center;
}
.news-content {
padding: 1.5rem;
}
.news-content h3 {
margin-bottom: 0.75rem;
}
.news-button {
padding: 0.6rem 1.5rem;
font-size: 0.9rem;
}
}
.faq-section {
margin: 6rem auto;
text-align: center;
max-width: 800px;
padding: 0 20px;
}
.faq-title {
color: #7c5cfc;
font-size: 2.5rem;
margin-bottom: 3rem;
position: relative;
display: inline-block;
text-transform: uppercase;
letter-spacing: 2px;
}
.faq-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 50px;
height: 3px;
background-color: #7c5cfc;
transition: width 0.3s ease;
}
.faq-title:hover::after {
width: 100px;
}
.faq-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.faq-card {
background-color: #2b2b34;
border: 2px solid #7c5cfc;
border-radius: 15px;
padding: 1.5rem;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(124, 92, 252, 0.1);
}
.faq-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(124, 92, 252, 0.2);
}
.faq-question {
font-size: 1.2rem;
font-weight: 600;
color: #ffffff;
display: flex;
justify-content: space-between;
align-items: center;
transition: color 0.3s ease;
}
.faq-question::after {
content: '+';
font-size: 1.5rem;
transition: transform 0.3s ease, color 0.3s ease;
}
.faq-card.active .faq-question::after {
transform: rotate(45deg);
color: #7c5cfc;
}
.faq-answer {
max-height: 0;
overflow: hidden;
transition: max-height 0.5s ease, opacity 0.5s ease, margin-top 0.5s ease;
opacity: 0;
color: #9898a3;
font-size: 1rem;
line-height: 1.6;
text-align: left;
}
.faq-card.active .faq-answer {
max-height: 1000px;
margin-top: 1rem;
opacity: 1;
}
.faq-card.active .faq-question {
color: #7c5cfc;
}
@media (max-width: 768px) {
.faq-section {
margin: 4rem auto;
}
.faq-title {
font-size: 2rem;
}
.faq-card {
padding: 1.25rem;
}
.faq-question {
font-size: 1.1rem;
}
.faq-answer {
font-size: 0.9rem;
}
}
/* Animation for FAQ cards */
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.faq-card {
animation: fadeInUp 0.5s ease-out;
animation-fill-mode: both;
}
.faq-card:nth-child(1) { animation-delay: 0.1s; }
.faq-card:nth-child(2) { animation-delay: 0.2s; }
.faq-card:nth-child(3) { animation-delay: 0.3s; }
/* footer */
.footer {
background-color: #1c1c23;
color: #9898a3;
padding: 3rem 2rem;
font-size: 1rem;
}
.footer-content {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 2rem;
max-width: 1200px;
margin: 0 auto;
}
.footer-section {
flex: 1;
min-width: 200px;
}
.footer-title {
color: #ffffff;
font-size: 1.2rem;
margin-bottom: 1rem;
position: relative;
display: inline-block;
}
.footer-title::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 30px;
height: 2px;
background-color: #7c5cfc;
transition: width 0.3s ease;
}
.footer-title:hover::after {
width: 50px;
}
.footer-links {
list-style: none;
padding: 0;
}
.footer-links li {
margin-bottom: 0.5rem;
}
.footer-links a {
color: #9898a3;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-links a:hover {
color: #7c5cfc;
}
.footer-social {
display: flex;
gap: 1rem;
}
.footer-social a {
color: #9898a3;
font-size: 1.5rem;
transition: color 0.3s ease;
}
.footer-social a:hover {
color: #7c5cfc;
}
.footer-bottom {
margin-top: 2rem;
text-align: center;
padding-top: 1rem;
border-top: 1px solid #2b2b34;
}
@media (max-width: 768px) {
.footer-content {
flex-direction: column;
}
}
.sidebar {
position: fixed;
top: 0;
right: -100%;
width: 400px;
height: 100%;
background-color: #262630;
transition: right 0.5s ease-in-out, opacity 0.5s ease-in-out;
z-index: 1000;
padding: 32px;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.sidebar.open {
right: 0;
opacity: 1;
}
.sidebar-close {
position: absolute;
top: 16px;
right: 16px;
background: none;
border: none;
color: #fff;
font-size: 24px;
cursor: pointer;
}
.sidebar-content {
display: flex;
flex-direction: column;
gap: 24px;
transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.sidebar-title {
color: #ffffff;
font-size: 1.5rem;
margin-bottom: 16px;
}
.input-field {
width: 100%;
padding: 12px;
border: 2px solid #627AD3;
border-radius: 8px;
background-color: #2b2b34;
color: #ffffff;
font-size: 1rem;
margin-bottom: 1rem;
transition: border-color 0.3s ease;
}
.input-field:focus {
outline: none;
border-color: #7c5cfc;
}
.login-button, .register-button {
width: 100%;
padding: 12px;
background-color: #7c5cfc;
color: #ffffff;
border: none;
border-radius: 8px;
cursor: pointer;
font-weight: 700;
margin-bottom: 1rem;
transition: background-color 0.3s ease;
}
.login-button:hover, .register-button:hover {
background-color: #6b52e0;
}
.register-link, .back-link {
color: #7c5cfc;
font-size: 0.9rem;
cursor: pointer;
text-align: center;
margin-top: 0.5rem;
}
.user-info {
display: none;
align-items: center;
background-color: #2b2b34;
border-radius: 20px;
padding: 10px 20px;
cursor: pointer;
gap: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
transition: background-color 0.3s, transform 0.3s;
animation: fadeIn 0.5s ease-in-out;
position: absolute;
right: 3rem;
}
.user-info:hover {
background-color: #343440;
transform: scale(1.05);
}
.user-avatar {
border-radius: 50%;
width: 40px;
height: 40px;
border: 2px solid #7c5cfc;
}
.user-name {
color: #ffffff;
font-size: 1rem;
font-weight: 600;
}
.dropdown-arrow {
transition: transform 0.3s;
}
.dropdown-menu {
display: none;
position: absolute;
top: 110%;
left: 0;
background-color: #2b2b34;
border-radius: 10px;
padding: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
margin-top: 10px;
z-index: 10;
opacity: 0;
transform: scaleY(0);
transform-origin: top;
transition: opacity 0.3s, transform 0.3s;
}
.dropdown-menu.active {
display: block;
opacity: 1;
transform: scaleY(1);
}
.dropdown-menu .dropdown-item {
color: #ffffff;
padding: 5px 10px;
cursor: pointer;
transition: background-color 0.2s;
text-decoration: none;
}
.dropdown-menu .dropdown-item:hover {
background-color: #373745;
}
.notification {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #323232;
color: white;
padding: 16px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
display: none;
z-index: 1000;
animation: fadeInOut 5s forwards;
}
.robux-icon {
width: 40px;
height: 40px;
background-image: url('https://raw.githubusercontent.com/OGDuper/Logo/refs/heads/main/robux');
background-size: contain;
background-repeat: no-repeat;
}
.error {
border-color: #ff4d4f;
box-shadow: 0 0 8px rgba(255, 77, 79, 0.5);
}
.error-message {
color: red;
font-size: 1rem; /* Увеличиваем размер шрифта */
margin-top: 0.5rem; /* Добавляем отступ сверху */
text-align: left; /* Выравниваем текст по левому краю */
display: block; /* Ошибка занимает всю строку */
}
.toggle-password {
cursor: pointer;
margin-top: -30px;
margin-right: 10px;
align-self: flex-end;
}
.logo {
position: absolute;
left: 1.5rem;
height: 90px;
width: auto;
animation: logoPulse 4s ease-in-out infinite;
}
@keyframes logoPulse {
0%, 100% {
transform: scale(1);
}
50% {
transform: scale(1.15);
}
}
.faq-answer {
display: none;
margin-top: 10px;
color: #9898a3;
font-size: 1rem;
text-align: left;
}
.faq-card.active .faq-answer {
display: block;
}
@media (max-width: 768px) {
body {
font-size: 1rem;
}
.purchase-container {
max-width: 300px;
}
.subtitle {
display: flex; /* Для размещения текста и иконки в одну строку */
align-items: center; /* Выравнивание по вертикали */
justify-content: center; /* Выравнивание по центру */
font-size: 1.25rem; /* Размер шрифта */
font-weight: bold; /* Жирное начертание текста */
color: white; /* Белый цвет */
margin-bottom: 0.5rem; /* Уменьшаем отступ снизу */
}
.subtitle-text {
margin-right: 5px; /* Уменьшаем отступ между текстом и иконкой */
}
/* Стили для иконки рядом с текстом */
.subtitle-icon {
font-size: 1rem; /* Размер иконки */
color: white; /* Белый цвет для иконки */
}
.title {
font-size: 2.625rem;
}
.main-content {
margin-top: 20px;
border-radius: 25px;
padding: 1.3rem;
gap: 0.1rem;
max-width: 350px;
font-size: 0.5rem;
}
#user-info {
display: none !important; /* Ensure user info is hidden */
}
.navbar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 1.5rem 3rem;
background-color: #1c1c23;
}
.logo {
margin-right: auto;
}
.nav-links {
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
top: 80px;
left: 0;
right: 0;
background-color: #1c1c23;
width: 100%;
text-align: center;
padding: 1rem 0;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 999;
visibility: hidden;
opacity: 0;
transition: visibility 0s, opacity 0.3s ease;
}
.nav-links.show {
visibility: visible;
opacity: 1;
transition: opacity 0.3s ease;
}
.nav-links, .login-btn {
display: block;
}
.menu-item {
display: flex;
align-items: center;
padding: 1rem 0;
width: 100%;
color: white;
text-decoration: none;
font-size: 20px;
gap: 10px; /* Отступ между иконкой и текстом */
}
/* Иконки для пунктов меню */
.menu-item i {
font-size: 20px; /* Размер иконок */
}
/* Эффекты при наведении на обычные пункты меню */
.menu-item:hover {
color: #7557ec; /* Цвет при наведении */
transform: scale(1.1); /* Немного увеличиваем иконку при наведении */
}
.nav-links a {
display: block;
padding: 1rem 0;
width: 100%;
color: white;
text-decoration: none;
}
/* Стили для иконок соцсетей */
.social-icons {
display: flex;
gap: 15px;
margin-top: 20px; /* Отступ сверху для соцсетей */
}
/* Иконки соцсетей */
.social-icon {
color: #fff;
font-size: 28px;
transition: all 0.3s ease;
}
.social-icon:hover {
color: #7557ec; /* Цвет при наведении */
transform: scale(1.1); /* Немного увеличиваем иконку при наведении */
}
.menu-toggle {
position: absolute;
right: 3rem;
display: block;
order: 3;
background: none;
border: none;
padding: 0;
cursor: pointer;
}
.login-btn {
height: 40px;
width: 80px;
margin-left: 170px;
order: 2;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
font-family: 'Inter', sans-serif;
font-weight: 700;
}
.title {
font-size: 2rem;
}
.input-group {
padding: 1rem;
border-radius: 1rem;
}
.input-label {
font-size: 1rem;
}
.input-value {
font-size: 2.5rem;
}
.currency-badge {
padding: 0.8rem 1rem;
}
.robuxvalue {
padding: 0.5rem 1rem;
border-radius: 0.75rem;
font-size: 0.875rem;
margin-left: -20px;
}
.buy-button {
padding: 1rem;
font-size: 1rem;
}
.stats-container {
flex-direction: column;
align-items: center;
gap: 3rem;
flex-wrap: wrap;
}
.stats-card {
flex-shrink: 0;
width: 300px;
height: 150px;
background-color: #1c1c23;
padding: 40px;
border-radius: 48px;
text-align: center;
box-shadow: 0 0 25px #8a6dff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.footer {
flex-direction: column;
gap: 1rem;
}
.sidebar {
width: 100%;
right: -100%;
}
.stats-value {
font-size: 35px;
font-weight: bold;
margin-bottom: 12px;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
}
.stats-value img {
filter: brightness(0) invert(1);
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideIn {
from { right: -400px; opacity: 0; }
to { right: 0; opacity: 1; }
}
@keyframes slideUp {
from { transform: translateY(50px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeInOut {
0% { opacity: 0; transform: translateY(20px); }
10%, 90% { opacity: 1; transform: translateY(0); }
100% { opacity: 0; transform: translateY(20px); }
}
}
#sliderContainer {
display: block; /* Слайдер видим по умолчанию */
transition: opacity 0.3s ease, visibility 0.3s ease;
}
#sliderContainer.hidden {
opacity: 0;
visibility: hidden;
height: 0;
overflow: hidden;
}
.mode-toggle {
display: flex;
justify-content: center;
margin-bottom: 20px;
}
.mode-toggle label {
display: inline-flex;
align-items: center;
cursor: pointer;
margin: 0 10px;
font-family: 'Inter', sans-serif;
font-size: 14px;
color: #9898a3;
}
.mode-toggle input[type="radio"] {
appearance: none;
-webkit-appearance: none;
width: 20px;
height: 20px;
border: 2px solid #7c5cfc;
border-radius: 50%;
margin-right: 8px;
outline: none;
transition: all 0.3s ease;
}
.mode-toggle input[type="radio"]:checked {
background-color: #7c5cfc;
box-shadow: 0 0 5px rgba(124, 92, 252, 0.5);
}
.mode-toggle input[type="radio"]:hover {
border-color: #967bff;
}
.mode-toggle label:hover {
color: #ffffff;
}
@media (max-width: 768px) {
.mode-toggle {
flex-direction: column;
align-items: center;
}
.mode-toggle label {
margin: 5px 0;
}
}
.purchase-container.compact {
gap: 0.5rem; /* Уменьшаем отступы между элементами */
padding-bottom: 1rem; /* Добавляем нижний отступ */
max-height: 350px; /* Ограничиваем высоту */
}
.purchase-container.compact .buy-button {
margin-top: 0; /* Убираем верхний отступ у кнопки */
align-self: flex-start; /* Выравниваем кнопку влево */
}
@media (min-width: 768px) {
.social-icon {
display: none;
}
}
/* Стиль для разделителя */
.separator {
height: 1px;
background-color: #967bff; /* Цвет палочки */
margin: 20px 0;
width: 50%; /* Ширина палочки — 50% от доступной ширины контейнера */
margin-left: auto; /* Центрируем палочку по горизонтали */
margin-right: auto;
}
/* Медиазапрос, чтобы скрыть разделитель на ПК (если ширина экрана больше 768px) */
@media (min-width: 768px) {
.separator {
display: none;
}
}