/* Base Styles */
:root {
    --primary-color: #6c5ce7;
    --error-color: #e74a3b;
    --secondary-color: #8e44ad;
    --accent-color: #fd79a8;
    --dark-color: #2d3436;
    --light-color: #f5f6fa;
    --success-color: #00b894;
    --warning-color: #fdcb6e;
    --danger-color: #d63031;
    --text-color: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.lottery-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 3rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-note {
    font-size: 0.9rem;
    margin-top: 1rem;
    opacity: 0.8;
}

/* Lottery Grid */
.lottery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Main Lottery Card */
.lottery-main-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.lottery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.lottery-id {
    font-weight: 600;
    color: var(--text-light);
}

.lottery-status {
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.lottery-status.active {
    background-color: rgba(0, 184, 148, 0.1);
    color: var(--success-color);
}

.lottery-status.upcoming {
    background-color: rgba(253, 203, 110, 0.1);
    color: var(--warning-color);
}

.status-badge {
    margin-left: 0.5rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
}

.status-badge.selecting {
    background-color: rgba(214, 48, 49, 0.1);
    color: var(--danger-color);
}

/* Prize Section */
.lottery-prize {
    text-align: center;
    margin-bottom: 1.5rem;
}

.prize-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.prize-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.prize-subtext {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Progress Bar */
.lottery-progress {
    margin-bottom: 1.5rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.progress-bar-container {
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 5px;
    transition: width 0.5s ease;
}

/* Countdown */
.lottery-countdown {
    text-align: center;
    margin-bottom: 1.5rem;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
}

.countdown-part {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.countdown-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
}

.countdown-finished {
    color: var(--success-color);
    font-weight: 600;
}

/* Action Buttons */
.lottery-action {
    text-align: center;
}

.btn-participate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 300px;
}

.btn-participate:hover {
    background-color: #5a4fcf;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(108, 92, 231, 0.2);
}

.btn-participate i {
    margin-right: 0.5rem;
}

.btn-participate.participated {
    background-color: var(--success-color);
    cursor: default;
}

.btn-participate.participated:hover {
    transform: none;
    box-shadow: none;
}

.glow-on-hover {
    position: relative;
    overflow: hidden;
}

.glow-on-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.glow-on-hover:hover::before {
    left: 100%;
}

/* Winners Section */
.winners-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.section-header i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.section-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.winners-list {
    display: grid;
    gap: 1rem;
}

.winner-card {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: var(--transition);
}

.winner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.winner-avatar {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 1rem;
    flex-shrink: 0;
}

.winner-info {
    flex-grow: 1;
}

.winner-name {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.winner-lottery {
    font-size: 0.8rem;
    color: var(--text-light);
}

.winner-prize {
    text-align: right;
}

.prize-amount {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.prize-date {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Index Page Info Section */
.index-info-section {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.index-info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.index-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.index-info-card h4 {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--dark-color);
}

.index-info-card h4 i {
    color: var(--primary-color);
    margin-right: 0.8rem;
    font-size: 1.2rem;
}

.index-info-card ol {
    padding-left: 1.5rem;
}

.index-info-card ol li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    line-height: 1.6;
}

.index-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.index-stat-item {
    text-align: center;
    padding: 0.8rem;
    background-color: var(--light-color);
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.index-stat-item:hover {
    background-color: #e9ecef;
}

.index-stat-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.index-stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Responsive Adjustments */
@media (min-width: 768px) {
    .index-info-section {
        grid-template-columns: 1fr 1fr;
    }
    
    .index-stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .index-stat-value {
        font-size: 1rem;
    }
    
    .index-info-card {
        padding: 1rem;
    }
}

/* Modal */
.modal-content {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.modal-header {
    background-color: var(--primary-color);
    color: white;
    border-bottom: none;
    padding: 1.2rem 1.5rem;
}

.modal-title {
    font-weight: 600;
}

.btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.payment-summary {
    margin-bottom: 1.5rem;
}

.payment-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.payment-item.total {
    font-weight: 600;
    font-size: 1.1rem;
    border-bottom: none;
}

.btn-pay-now {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-pay-now:hover {
    background-color: #5a4fcf;
}

.btn-pay-now i {
    margin-right: 0.5rem;
}

/* Responsive Design */
@media (min-width: 768px) {
    .lottery-grid {
        grid-template-columns: 1.5fr 1fr;
    }
    
    .info-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
}

@media (min-width: 992px) {
    .lottery-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    .lottery-main-card {
        padding: 2rem;
    }
    
    .prize-amount {
        font-size: 3rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Footer */
.site-footer {
    position: relative;
    background: linear-gradient(135deg, #2d3436, #1a1e1f);
    color: #fff;
    padding-top: 60px;
    margin-top: 80px;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" fill="%23f8f9fa" opacity=".25"/><path d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" fill="%23f8f9fa" opacity=".5"/><path d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z" fill="%23f8f9fa"/></svg>') no-repeat;
    background-size: cover;
}

.footer-main {
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-brand {
    text-align: left; 
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.footer-logo i {
    color: #6c5ce7;
    margin-right: 10px;
    font-size: 2rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 400px;
    margin: 0;
}

.footer-nav, .footer-contact {
    text-align: left;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    color: #fff;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    transform: none; 
    width: 50px;
    height: 2px;
    background: #6c5ce7;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

.footer-links i {
    margin-right: 8px;
    font-size: 0.7rem;
    color: #6c5ce7;
}

.footer-info {
    list-style: none;
    padding-left: 0;
}

.footer-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-info i {
    color: #6c5ce7;
    margin-right: 10px;
    font-size: 1.1rem;
    min-width: 20px;
}

.footer-info a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-info a:hover {
    color: #fff;
}

.footer-copyright {
    text-align: left;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Медиа-запрос для больших экранов*/
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Telegram Float Button */
/* .telegram-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.telegram-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    color: white;
    border: none;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(42, 171, 238, 0.4);
    transition: all 0.3s ease;
}

.telegram-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(42, 171, 238, 0.6);
} */

/* Telegram Modal */
/* .telegram-icon {
    font-size: 4rem;
    color: #2AABEE;
    margin-bottom: 20px;
}

.btn-telegram {
    background: linear-gradient(135deg, #2AABEE, #229ED9);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-telegram:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(42, 171, 238, 0.4);
} */

/* Telegram кнопка */
.telegram-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.telegram-btn {
  width: 50px;
  height: 50px;
  border-radius: 100%;
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: white;
  border: none;
  font-size: 30px;
  box-shadow: 0 4px 15px rgba(42, 171, 238, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.telegram-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(42, 171, 238, 0.6);
}

/* Telegram модальное окно */
.telegram-icon {
  font-size: 60px;
  color: #2AABEE;
}

.btn-telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(42, 171, 238, 0.4);
  color: white;
}

/* Responsive Design */
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
    
    .footer-brand {
        text-align: left;
    }
    
    .footer-description {
        margin: 0;
    }
    
    .footer-nav, .footer-contact {
        text-align: left;
    }
    
    .footer-title::after {
        left: 0;
        transform: none;
    }
    
    .footer-links a {
        justify-content: flex-start;
    }
    
    .footer-info li {
        justify-content: flex-start;
    }
}

@media (max-width: 576px) {
    .telegram-float {
        bottom: 20px;
        right: 20px;
    }
    
    .telegram-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Hero Banner Styles */
.info-hero-banner {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: linear-gradient(135deg, #6c5ce7, #8e44ad);
    color: #fff;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-scroll {
    position: absolute;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-scroll:hover {
    color: #fff;
}

.hero-scroll i {
    margin-top: 10px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Common Styles */
.info-main-content section {
    padding: 10px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
}

.section-header h2 i {
    color: #6c5ce7;
    margin-right: 15px;
    font-size: 1.8rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 700px;
    margin: 0 auto;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline-progress {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #eee;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    z-index: 2;
}

.timeline-card {
    position: relative;
    width: calc(50% - 40px);
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-right: auto;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
}

.timeline-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #2d3436;
}

.timeline-card p {
    color: #636e72;
    line-height: 1.6;
}

/* FAQ Styles */
.faq-section {
    background: #f8f9fa;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2d3436;
    margin: 0;
}

.faq-question i {
    color: #6c5ce7;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #636e72;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background: rgba(108, 92, 231, 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Benefits Styles */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #2d3436;
}

.benefit-card p {
    color: #636e72;
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    position: relative;
    background: linear-gradient(rgba(45, 52, 54, 0.9), rgba(45, 52, 54, 0.9)), url('https://images.unsplash.com/photo-1690207925012-0feb0b85ddf8?q=80&w=1470&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.stats-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item {
    padding: 20px;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #6c5ce7;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: #f8f9fa;
}

.cta-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px;
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    border-radius: 15px;
    text-align: center;
    color: white;
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.3);
}

.cta-card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 10px 5px;
    border-radius: 100px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* .btn-primary {
    background: linear-gradient(135deg, #6e0ad6 0%, #a642ff 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(110, 10, 214, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(110, 10, 214, 0.4);
} */

/* .btn-outline {
    border: 2px solid #6e0ad6;
    color: #6e0ad6;
}

.btn-outline:hover {
    background: #6e0ad6;
    color: white;
} */

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .timeline-card {
        width: calc(100% - 40px);
    }
    
    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        margin: 0 auto;
    }
    
    .stat-value {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .info-hero-banner {
        height: 70vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .cta-card {
        padding: 40px 20px;
    }
    
    .cta-card h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .info-hero-banner {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .timeline-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInUp {
    animation-name: fadeInUp;
}

/* Feedback Page Specific Styles */
        
        /* .avatar-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }
        
        .feedback-card {
            transition: transform 0.3s;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .feedback-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .screenshot-thumb {
            height: 200px;
            object-fit: cover;
            cursor: pointer;
        }
        
        .form-container {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 0 15px rgba(0,0,0,0.05);
        }
        
        .is-invalid {
            border-color: var(--error-color);
        } */
        .avatar-icon {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: var(--primary-color);
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }
        
        .feedback-card {
            transition: transform 0.3s;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .feedback-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        
        .screenshot-thumb {
            height: 200px;
            object-fit: cover;
            cursor: pointer;
        }
        
        .form-container {
            background: white;
            border-radius: 10px;
            padding: 2rem;
            box-shadow: 0 0 15px rgba(0,0,0,0.05);
        }
        
        .is-invalid {
            border-color: var(--error-color);
        }

/* Login Page Styles */
.login-container {
    max-width: 500px;
    margin: 80px auto;
    padding: 0 15px;
}

.login-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 7px 25px rgba(0, 0, 0, 0.15);
}

.card-body {
    padding: 30px;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: #2d3436;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.card-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #6c5ce7;
}

.alert-danger {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    color: #f44336;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-size: 14px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3436;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
    margin-bottom: 20px;
}

.form-control:focus {
    border-color: #6c5ce7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.btn-primary {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

/* .btn-primary:hover {
    background: #5649c0;
} */

.text-center {
    text-align: center;
    margin-top: 20px;
    color: #636e72;
}

.text-center a {
    color: #333149;
    text-decoration: none;
    font-weight: 500;
}

.text-center a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .login-container {
        margin: 40px auto;
    }
    
    .card-body {
        padding: 25px 20px;
    }
    
    .card-title {
        font-size: 22px;
    }
}

/* Registration Page Styles */
.register-container {
    max-width: 600px;
    margin: 60px auto;
    padding: 0 15px;
}

.register-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.register-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.register-card-body {
    padding: 40px;
}

.register-title {
    font-size: 26px;
    font-weight: 600;
    color: #2d3436;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.register-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(to right, #6c5ce7, #a29bfe);
}

.alert-danger {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    color: #f44336;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.alert-danger ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.alert-danger li {
    margin-bottom: 5px;
}

.alert-danger li:last-child {
    margin-bottom: 0;
}

.alert-info {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.alert-info i {
    margin-right: 8px;
    color: #2196f3;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3436;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    margin-bottom: 5px;
}

.form-control:focus {
    border-color: #6c5ce7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15);
}

.is-invalid {
    border-color: #f44336;
}

.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.15);
}

.invalid-feedback {
    color: #f44336;
    font-size: 13px;
    margin-bottom: 15px;
    display: block;
}

/* .btn-primary {
    background: linear-gradient(to right, #6c5ce7, #a29bfe);
    color: white;
    border: none;
    padding: 14px;
    width: 100%;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(to right, #5a4fcf, #8e86e5);
    transform: translateY(-2px);
} */

.register-footer {
    text-align: center;
    margin-top: 25px;
    color: #636e72;
    font-size: 15px;
}

.register-footer a {
    color: #6c5ce7;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s;
}

.register-footer a:hover {
    color: #5a4fcf;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .register-card-body {
        padding: 30px;
    }
    
    .register-title {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .register-container {
        margin: 40px auto;
    }
    
    .register-card-body {
        padding: 25px 20px;
    }
    
    .register-title {
        font-size: 22px;
        margin-bottom: 25px;
    }
    
    .form-control, 
    .btn-primary {
        padding: 12px 14px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-card {
    animation: fadeInUp 0.5s ease-out forwards;
}

/* History Page Styles */
.history-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.history-title {
    font-size: 28px;
    font-weight: 600;
    color: #2d3436;
    display: flex;
    align-items: center;
    margin: 0;
}

.history-title i {
    color: #6c5ce7;
    margin-right: 15px;
    font-size: 1.5em;
}

.history-back-btn {
    background: #fff;
    color: #6c5ce7;
    border: 1px solid #6c5ce7;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.history-back-btn i {
    margin-right: 8px;
    font-size: 0.9em;
}

.history-back-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
}

.history-alert {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.history-table thead {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
}

.history-table th {
    padding: 15px;
    text-align: left;
    font-weight: 500;
}

.history-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f3f5;
}

.history-table tbody tr:last-child td {
    border-bottom: none;
}

.history-table tbody tr:hover {
    background-color: #f8f9fa;
}

.history-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

.bg-success {
    background-color: #00b894;
    color: white;
}

.bg-secondary {
    background-color: #636e72;
    color: white;
}

.bg-warning {
    background-color: #fdcb6e;
    color: #2d3436;
}

.text-success {
    color: #00b894;
    font-weight: 500;
}

.text-muted {
    color: #636e72;
}

.text-primary {
    color: #6c5ce7;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .history-container {
        margin: 30px auto;
    }
    
    .history-title {
        font-size: 24px;
    }
    
    .history-table th,
    .history-table td {
        padding: 10px 12px;
    }
}

@media (max-width: 576px) {
    .history-container {
        padding: 0 15px;
    }
    
    .history-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .history-back-btn {
        width: 100%;
        justify-content: center;
    }
    
    .history-table {
        display: block;
        overflow-x: auto;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.history-table {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Transactions Page Styles */
.transactions-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.transactions-title {
    font-size: 28px;
    font-weight: 600;
    color: #2d3436;
    display: flex;
    align-items: center;
    margin: 0;
}

.transactions-title i {
    color: #6c5ce7;
    margin-right: 15px;
    font-size: 1.5em;
}

.transactions-back-btn {
    background: #fff;
    color: #6c5ce7;
    border: 1px solid #6c5ce7;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.transactions-back-btn i {
    margin-right: 8px;
    font-size: 0.9em;
}

.transactions-back-btn:hover {
    background: #6c5ce7;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
}

.transactions-alert {
    background-color: #e3f2fd;
    border-left: 4px solid #2196f3;
    color: #1565c0;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.transactions-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.transactions-table thead {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
    color: white;
}

.transactions-table th {
    padding: 15px;
    text-align: left;
    font-weight: 500;
}

.transactions-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f3f5;
}

.transactions-table tbody tr:last-child td {
    border-bottom: none;
}

.transactions-table tbody tr:hover {
    background-color: #f8f9fa;
}

.transaction-type {
    font-weight: 500;
    color: #2d3436;
}

.transaction-amount {
    font-weight: 600;
}

.text-success {
    color: #00b894;
}

.text-danger {
    color: #d63031;
}

.transaction-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
}

.bg-success {
    background-color: #00b894;
    color: white;
}

.bg-warning {
    background-color: #fdcb6e;
    color: #2d3436;
}

.bg-danger {
    background-color: #d63031;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .transactions-container {
        margin: 30px auto;
    }
    
    .transactions-title {
        font-size: 24px;
    }
    
    .transactions-table th,
    .transactions-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .transaction-status {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .transactions-container {
        padding: 0 15px;
    }
    
    .transactions-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .transactions-back-btn {
        width: 100%;
        justify-content: center;
    }
    
    .transactions-table {
        display: block;
        overflow-x: auto;
    }
    
    .transactions-table td:nth-child(1)::before {
        content: "Дата: ";
        font-weight: 500;
    }
    
    .transactions-table td:nth-child(2)::before {
        content: "Тип: ";
        font-weight: 500;
    }
    
    .transactions-table td:nth-child(3)::before {
        content: "Сумма: ";
        font-weight: 500;
    }
    
    .transactions-table td:nth-child(4)::before {
        content: "Статус: ";
        font-weight: 500;
    }
    
    .transactions-table thead {
        display: none;
    }
    
    .transactions-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 2px solid #f1f3f5;
    }
    
    .transactions-table td {
        display: block;
        text-align: right;
        padding: 8px 15px;
        border-bottom: 1px dotted #eee;
    }
    
    .transactions-table td::before {
        float: left;
        font-weight: bold;
    }
    
    .transactions-table td:last-child {
        border-bottom: none;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.transactions-table {
    animation: fadeIn 0.6s ease-out forwards;
}



/* Referral Program Styles */
/* .account-dashboard {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
} */

/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
} */

/* Header Styles */
.account-header {
    background: linear-gradient(135deg, #6c5ce7, #8e44ad);
    color: white;
    padding: 20px 0;
    /* margin-bottom: 30px; */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.account-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.account-title i {
    margin-right: 12px;
    font-size: 1.2em;
}

.breadcrumbs {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.breadcrumbs a:hover {
    color: white;
}

.breadcrumbs i {
    margin-right: 5px;
}

.breadcrumbs .fa-chevron-right {
    margin: 0 8px;
    font-size: 12px;
    opacity: 0.7;
}

.breadcrumbs span {
    color: white;
    font-weight: 500;
}

/* Main Card Styles */
.referral-main-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    overflow: hidden;
}

.referral-main-card .card-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #6c5ce7, #8e44ad);
    color: white;
}

.referral-main-card .card-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
}

.referral-main-card .card-header h2 i {
    margin-right: 10px;
}

.referral-main-card .card-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.referral-main-card .card-body {
    padding: 25px;
}

/* Referral Link Container */
.referral-link-container {
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    margin-bottom: 15px;
}

.form-control {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px 0 0 8px;
    font-size: 15px;
    border-right: none;
}

.btn-copy {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    font-weight: 500;
}

.btn-copy:hover {
    background: #5649c0;
}

.btn-copy.copied {
    background: #00b894;
}

.btn-copy i {
    margin-right: 8px;
}

.social-share {
    display: flex;
    align-items: center;
}

.social-share span {
    margin-right: 10px;
    font-size: 14px;
    color: #666;
}

.social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    color: white;
    font-size: 14px;
    transition: transform 0.3s;
}

.social-btn:hover {
    transform: translateY(-2px);
}

.social-btn.telegram { background: #0088cc; }
.social-btn.whatsapp { background: #25D366; }
.social-btn.vk { background: #4C75A3; }

/* Benefits Section */
.referral-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.benefit-item {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.benefit-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #2d3436;
}

.benefit-text p {
    font-size: 14px;
    color: #636e72;
    margin: 0;
    line-height: 1.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: transform 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-content {
    padding: 20px;
    display: flex;
    align-items: center;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: white;
    font-size: 20px;
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    font-size: 14px;
    font-weight: 500;
    color: #636e72;
    margin: 0 0 5px 0;
}

/* .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #2d3436;
} */

.stat-progress {
    height: 4px;
    background: #0f4d4a;
}

.progress-bar {
    height: 100%;
    background: #6c5ce7;
    transition: width 0.5s ease;
}

/* Card Colors */
.total-referrals .stat-icon { background: #6c5ce7; }
.total-referrals .progress-bar { background: #6c5ce7; }

.active-referrals .stat-icon { background: #00b894; }
.active-referrals .progress-bar { background: #00b894; }

.total-earned .stat-icon { background: #0984e3; }
.total-earned .progress-bar { background: #0984e3; }

.available-earned .stat-icon { background: #e17055; }
.available-earned .progress-bar { background: #e17055; }

/* Referrals List Card */
.referrals-list-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
}

.referrals-list-card .card-header {
    padding: 18px 25px;
    border-bottom: 1px solid #f1f3f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.referrals-list-card .card-header h2 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.referrals-list-card .card-header h2 i {
    margin-right: 10px;
    color: #6c5ce7;
}

.header-actions {
    display: flex;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 12px;
    color: #636e72;
    font-size: 14px;
}

.search-box input {
    padding: 8px 15px 8px 35px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    min-width: 250px;
}

.search-box input:focus {
    outline: none;
    border-color: #6c5ce7;
}

/* Table Styles */
.table-responsive {
    overflow-x: auto;
}

.referrals-table {
    width: 100%;
    border-collapse: collapse;
}

.referrals-table th {
    text-align: left;
    padding: 15px 20px;
    background: #f8f9fa;
    color: #636e72;
    font-weight: 500;
    font-size: 14px;
}

.referrals-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #f1f3f5;
}

.referrals-table tr:last-child td {
    border-bottom: none;
}

.referrals-table tr:hover {
    background: #f8f9fa;
}

/* Table Cells */
.user-cell {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #6c5ce7;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-weight: 600;
    flex-shrink: 0;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 500;
    color: #2d3436;
    margin-bottom: 3px;
}

.user-id {
    font-size: 12px;
    color: #636e72;
}

.date-cell {
    display: flex;
    flex-direction: column;
}

.date {
    font-weight: 500;
    color: #2d3436;
}

.time {
    font-size: 12px;
    color: #636e72;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.status-badge i {
    margin-right: 5px;
    font-size: 12px;
}

.status-badge.paid {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.status-badge.pending {
    background: rgba(253, 203, 110, 0.1);
    color: #fdcb6e;
}

.reward-cell {
    display: flex;
    flex-direction: column;
}

.reward-amount {
    font-weight: 600;
    color: #00b894;
}

.reward-date {
    font-size: 12px;
    color: #636e72;
}

.actions-cell {
    display: flex;
}

.btn-action {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #636e72;
    cursor: pointer;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-action:hover {
    background: #f1f3f5;
    color: #6c5ce7;
}

/* Table Footer */
.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-top: 1px solid #f1f3f5;
}

.table-info {
    font-size: 13px;
    color: #636e72;
}

.pagination {
    display: flex;
}

.page-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: white;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover:not(.disabled):not(.active) {
    border-color: #6c5ce7;
    color: #6c5ce7;
}

.page-btn.active {
    background: #6c5ce7;
    color: white;
    border-color: #6c5ce7;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 50px 20px;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: rgba(108, 92, 231, 0.1);
    color: #6c5ce7;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 30px;
}

.empty-state h3 {
    font-size: 18px;
    color: #2d3436;
    margin-bottom: 10px;
}

.empty-state p {
    color: #636e72;
    margin-bottom: 20px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* .btn-primary {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}
*/
.btn-primary:hover {
    background: #5649c0;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
} 

.btn-primary i {
    margin-right: 8px;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    z-index: 1000;
}

.notification.show {
    bottom: 30px;
    opacity: 1;
}

.notification-content {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    font-size: 14px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.2);
}

.notification-content i {
    margin-right: 10px;
    color: #00b894;
}

/* Responsive Design */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .referral-benefits {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .account-title {
        margin-bottom: 10px;
    }
    
    .referrals-list-card .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions {
        margin-top: 15px;
        width: 100%;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .table-footer {
        flex-direction: column;
    }
    
    .pagination {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    .form-control {
        border-radius: 8px;
        margin-bottom: 10px;
        border-right: 1px solid #ddd;
    }
    
    .btn-copy {
        border-radius: 8px;
        padding: 12px;
        justify-content: center;
    }
    
    .referrals-table th, 
    .referrals-table td {
        padding: 12px 15px;
    }
    
    .user-cell {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-avatar {
        margin-bottom: 8px;
    }
}



/* Account Dashboard Styles */
.account-dashboard {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
} */

/* Header Styles */
/* .account-header {
    background: linear-gradient(135deg, #6c5ce7, #8e44ad);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
} */

.account-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.account-title i {
    margin-right: 12px;
    font-size: 1.2em;
}

.user-profile {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #fff;
    color: #6c5ce7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-right: 12px;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 500;
    font-size: 16px;
}

.user-email {
    font-size: 13px;
    opacity: 0.8;
}

/* Main Content Layout */
.account-main {
    padding: 30px 0;
}

.account-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Sidebar Styles */
.account-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.balance-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.balance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.balance-header h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    color: #636e72;
}

.balance-header i {
    color: #6c5ce7;
    font-size: 20px;
}

.balance-amount {
    font-size: 28px;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 15px;
}

.payment-info {
    border-top: 1px dashed #eee;
    padding-top: 15px;
}

.payment-method {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.payment-method i {
    color: #6c5ce7;
    margin-right: 8px;
    font-size: 16px;
}

.account-menu {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
}

.account-menu a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #636e72;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.account-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: #6c5ce7;
}

.account-menu a:hover, .account-menu a.active {
    background: #f8f9fa;
    color: #6c5ce7;
}

.account-menu a.active {
    border-left: 3px solid #6c5ce7;
}

/* Content Styles */
.account-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #6c5ce7;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
}

.section-header h2 i {
    color: #6c5ce7;
    margin-right: 10px;
    font-size: 1.1em;
}

.view-all {
    font-size: 14px;
    color: #6c5ce7;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.view-all i {
    margin-left: 5px;
    font-size: 12px;
}

/* Form Styles */
.profile-form {
    margin-bottom: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2d3436;
    display: flex;
    align-items: center;
}

.form-group label i {
    margin-right: 8px;
    color: #6c5ce7;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #dfe6e9;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
}

.form-group input:focus {
    border-color: #6c5ce7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.is-invalid {
    border-color: #e74c3c !important;
}

.error-message {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: flex;
    align-items: center;
}

.error-message i {
    margin-right: 5px;
}

.form-hint {
    font-size: 13px;
    color: #636e72;
    margin-top: 5px;
}

.btn-save {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-save:hover {
    background: #5649c0;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
}

.btn-save i {
    margin-right: 8px;
}

/* Transactions List */
.transactions-list {
    display: grid;
    gap: 12px;
}

.transaction-item {
    display: grid;
    grid-template-columns: 40px 1fr auto auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
}

.transaction-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.transaction-icon i {
    font-size: 20px;
}

.transaction-icon .success {
    color: #00b894;
}

.transaction-icon .danger {
    color: #e74c3c;
}

.transaction-details {
    display: flex;
    flex-direction: column;
}

.transaction-type {
    font-weight: 500;
    color: #2d3436;
}

.transaction-date {
    font-size: 13px;
    color: #636e72;
}

.transaction-amount {
    font-weight: 600;
    white-space: nowrap;
}

.transaction-amount.success {
    color: #00b894;
}

.transaction-amount.danger {
    color: #e74c3c;
}

.transaction-status {
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 500;
    white-space: nowrap;
}

.transaction-status.completed {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.transaction-status.pending {
    background: rgba(253, 203, 110, 0.1);
    color: #f39c12;
}

.transaction-status.failed {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* Lottery List */
.lottery-list {
    display: grid;
    gap: 12px;
}

/* .lottery-item {
    display: grid;
    grid-template-columns: 60px 100px auto auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;
    transition: all 0.3s;
} */
.lottery-item {
    display: grid;    
    grid-template-columns: 40px 1fr auto auto;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    background: #f8f9fa;    
    transition: all 0.3s;
}

.lottery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.lottery-id {
    font-weight: 600;
    color: #6c5ce7;
}

.lottery-date {
    font-size: 14px;
    color: #636e72;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.status-badge.completed {
    background: rgba(0, 184, 148, 0.1);
    color: #00b894;
}

.status-badge.completed.won {
    background: rgba(0, 184, 148, 0.2);
    font-weight: 600;
}

.status-badge.active {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.lottery-result {
    display: flex;
    align-items: center;
    font-weight: 500;
    white-space: nowrap;
}

.lottery-result i {
    margin-right: 5px;
}

.lottery-result .success {
    color: #00b894;
}

.lottery-result .muted {
    color: #636e72;
}

.lottery-result .info {
    color: #3498db;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.empty-state i {
    font-size: 50px;
    color: #a29bfe;
    opacity: 0.7;
    margin-bottom: 15px;
}

.empty-state h4 {
    font-size: 18px;
    color: #2d3436;
    margin-bottom: 10px;
}

.empty-state p {
    color: #636e72;
    margin-bottom: 20px;
}

/* .btn-primary {
    background: #6c5ce7;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
}

.btn-primary:hover {
    background: #5649c0;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(108, 92, 231, 0.3);
} */

.btn-primary i {
    margin-right: 8px;
}

/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border-left: 3px solid #2ecc71;
}

.alert-success i {
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .user-profile {
        margin-top: 15px;
    }
    
    .transaction-item, .lottery-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .transaction-details, .lottery-result {
        grid-column: span 3;
    }
    
    .transaction-status, .status-badge {
        justify-self: start;
    }
}

@media (max-width: 576px) {
    .account-title {
        font-size: 20px;
    }
    
    .user-profile {
        width: 100%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .view-all {
        margin-top: 10px;
    }
}

        /* Language Switcher Styles - Bottom Right */
        .language-switcher-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            z-index: 1000;
        }
        
        .language-switcher-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 50px;
            height: 50px;
            background-color: #2c3e50;
            color: white;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 4px 10px rgba(0,0,0,0.2);
            transition: all 0.3s ease;
            border: none;
            outline: none;
        }
        
        .language-switcher-btn:hover {
            background-color: #1a252f;
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0,0,0,0.3);
        }
        
        .language-switcher-btn i {
            font-size: 1.5rem;
        }
        
        .language-dropdown-menu {
            position: absolute;
            bottom: 60px;
            right: 0;
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.15);
            min-width: 180px;
            overflow: hidden;
            display: none;
            z-index: 1000;
            transform-origin: bottom right;
            animation: fadeIn 0.2s ease-out;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }
        
        .language-dropdown-menu.show {
            display: block;
        }
        
        .language-dropdown-item {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            color: #333;
            text-decoration: none;
            transition: all 0.2s ease;
            border-bottom: 1px solid #f1f1f1;
        }
        
        .language-dropdown-item:last-child {
            border-bottom: none;
        }
        
        .language-dropdown-item:hover {
            background-color: #f8f9fa;
        }
        
        .language-dropdown-item.active {
            background-color: #e9f5ff;
            color: #0066cc;
        }
        
        .language-flag {
            width: 24px;
            height: 18px;
            margin-right: 10px;
            object-fit: cover;
            border-radius: 3px;
        }
        
        .language-text {
            font-size: 0.95rem;
        }
        
        @media (max-width: 768px) {
            .language-switcher-container {
                bottom: 15px;
                right: 15px;
            }
            
            .language-switcher-btn {
                width: 45px;
                height: 45px;
            }
            
            .language-dropdown-menu {
                min-width: 160px;
            }
        }