* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ff6b35;
    --secondary-color: #4ecdc4;
    --accent-color: #ffe66d;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1e;
    --light-text: #ffffff;
    --card-bg: #16213e;
    --fire-color: #ff4757;
    --water-color: #3742fa;
    --earth-color: #2ed573;
    --air-color: #70a1ff;
    --legendary-color: #ffa502;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--light-text);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - ПОЛНОСТЬЮ ПЕРЕПИСАНО */
.main-header {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 9998;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid var(--primary-color);
    width: 100%;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    position: relative;
}

.logo {
    position: relative;
    flex: 0 0 auto;
    z-index: 1;
}

.logo a {
    text-decoration: none;
    display: block;
}

.logo h1 {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    white-space: nowrap;
    transition: transform 0.3s ease;
}

.logo a:hover h1 {
    transform: scale(1.05);
}

.glow-effect {
    display: none;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.main-nav li {
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
    display: block;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 80%;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 10001;
    padding: 0.5rem;
    position: relative;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    position: absolute;
    border-radius: 2px;
    left: 50%;
    transform: translateX(-50%);
}

.mobile-menu-toggle span:nth-child(1) {
    top: 12px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 18.5px;
}

.mobile-menu-toggle span:nth-child(3) {
    top: 25px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 18.5px;
    transform: translateX(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scale(0);
}

.mobile-menu-toggle.active span:nth-child(3) {
    top: 18.5px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 20px;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: slideInDown 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    animation: slideInUp 1s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1.5s ease-out;
}

.hero-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    width: 150px;
    height: 200px;
    background: linear-gradient(135deg, var(--card-bg), var(--darker-bg));
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    animation: float 6s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: 15%;
    animation-delay: 2s;
}

.floating-card.card-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-30px) rotate(5deg);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
    color: white;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #6ee5dd);
    color: white;
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.6);
}

/* Features Section */
.features-section {
    padding: 4rem 20px;
    background: rgba(22, 33, 62, 0.5);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.sword-icon {
    background: linear-gradient(135deg, var(--primary-color), #ff8c5a);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 70% 50%, 80% 60%, 50% 100%, 20% 60%, 30% 50%, 0% 30%);
}

.card-icon {
    background: linear-gradient(135deg, var(--secondary-color), #6ee5dd);
    border-radius: 8px;
    position: relative;
}

.card-icon::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.trophy-icon {
    background: linear-gradient(135deg, var(--legendary-color), #ffb84d);
    clip-path: polygon(20% 0%, 80% 0%, 100% 30%, 90% 50%, 100% 70%, 80% 100%, 20% 100%, 0% 70%, 10% 50%, 0% 30%);
}

.chart-icon {
    background: linear-gradient(135deg, var(--accent-color), #fff88a);
    clip-path: polygon(0% 100%, 25% 60%, 50% 80%, 75% 40%, 100% 60%, 100% 100%);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Gameplay Preview / Stats */
.gameplay-preview {
    padding: 4rem 20px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    animation: rotateGlow 4s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    border-color: var(--accent-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    line-height: 1.2;
}

.stat-label {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Deck Calculator */
.deck-calculator-section {
    padding: 4rem 20px;
    background: rgba(22, 33, 62, 0.5);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.calculator-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.input-group input {
    padding: 0.75rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: var(--darker-bg);
    color: white;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 230, 109, 0.3);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-card {
    background: var(--darker-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--secondary-color);
}

.result-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.result-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent-color);
}

/* Page Header */
.page-header {
    padding: 3rem 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(78, 205, 196, 0.2));
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
}

/* About Content */
.about-content {
    padding: 4rem 20px;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

.mechanics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.mechanic-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.mechanic-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.art-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.art-item {
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--primary-color);
}

.art-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.art-item:hover img {
    transform: scale(1.05);
}

/* Collection Content */
.collection-content {
    padding: 4rem 20px;
}

.filter-section {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--light-text);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.card-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid transparent;
    position: relative;
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.card-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.card-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--darker-bg);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-item:hover .card-glow {
    opacity: 0.6;
}

.fire-glow {
    background: radial-gradient(circle, rgba(255, 71, 87, 0.5) 0%, transparent 70%);
}

.water-glow {
    background: radial-gradient(circle, rgba(55, 66, 250, 0.5) 0%, transparent 70%);
}

.earth-glow {
    background: radial-gradient(circle, rgba(46, 213, 115, 0.5) 0%, transparent 70%);
}

.air-glow {
    background: radial-gradient(circle, rgba(112, 161, 255, 0.5) 0%, transparent 70%);
}

.legendary-glow {
    background: radial-gradient(circle, rgba(255, 165, 2, 0.5) 0%, transparent 70%);
    animation: legendaryPulse 2s ease-in-out infinite;
}

@keyframes legendaryPulse {
    0%, 100% {
        opacity: 0.4;
    }
    50% {
        opacity: 0.8;
    }
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.card-type {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-stats {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.card-ability {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* Strategy Content */
.strategy-content {
    padding: 4rem 20px;
}

.strategy-section {
    margin-bottom: 3rem;
}

.strategy-section h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.tip-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    transition: all 0.3s ease;
}

.tip-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(255, 230, 109, 0.3);
}

.tip-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tip-card p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/* Tournament Content */
.tournament-content {
    padding: 4rem 20px;
}

.tournament-list {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tournament-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.tournament-card.featured {
    border-color: var(--legendary-color);
    box-shadow: 0 0 30px rgba(255, 165, 2, 0.3);
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
}

.tournament-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tournament-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.tournament-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    background: var(--primary-color);
    color: white;
}

.tournament-badge.regular {
    background: var(--secondary-color);
}

.tournament-badge.beginner {
    background: var(--earth-color);
}

.tournament-badge.special {
    background: var(--legendary-color);
}

.tournament-details {
    margin-bottom: 1rem;
}

.detail-item {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.detail-item strong {
    color: var(--accent-color);
}

.tournament-description {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.calendar-section {
    margin-top: 4rem;
}

.calendar-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.calendar-day {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.calendar-day:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.day-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.day-events {
    font-size: 0.9rem;
    color: var(--accent-color);
}

/* Contact Content */
.contact-content {
    padding: 4rem 20px;
}

.contact-grid {
    margin-bottom: 4rem;
}

.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.info-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.2);
}

.info-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.info-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.info-item p:last-child {
    margin-bottom: 0;
}

.contact-form-container {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background: var(--darker-bg);
    color: white;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 230, 109, 0.3);
}

.form-group textarea {
    resize: vertical;
}

.faq-section {
    margin-top: 4rem;
}

.faq-section h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.faq-list {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.faq-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

/* Privacy Content */
.privacy-content {
    padding: 4rem 20px;
}

.privacy-section {
    margin-bottom: 3rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.privacy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.privacy-section p {
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.consent-form-section {
    margin-top: 4rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.consent-form-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.consent-form-section > p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.9);
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
    cursor: pointer;
}

.optional {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: normal;
}

.form-success {
    background: #2ed573;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

.form-error {
    background: #ff4757;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    animation: slideInUp 0.5s ease-out;
}

/* Footer */
.main-footer {
    background: var(--darker-bg);
    padding: 2rem 20px;
    text-align: center;
    border-top: 2px solid var(--primary-color);
    margin-top: 4rem;
}

.footer-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header {
        z-index: 9998;
    }
    
    .main-nav {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(15, 15, 30, 0.98) !important;
        backdrop-filter: blur(20px);
        z-index: 99999 !important;
        overflow-y: auto;
        padding-top: 80px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
    }
    
    .main-nav.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .main-nav ul {
        display: none !important;
    }
    
    .main-nav.active ul {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 20px !important;
        list-style: none !important;
        margin: 0 !important;
        width: 100% !important;
        position: relative;
        z-index: 1;
    }

    .main-nav.active ul li {
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 107, 53, 0.1);
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .main-nav.active ul li:last-child {
        border-bottom: none;
    }

    .main-nav.active ul li a {
        display: block !important;
        padding: 1.2rem 1rem !important;
        border-radius: 0;
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
        font-size: 1.1rem;
        color: var(--light-text) !important;
        width: 100% !important;
        text-decoration: none;
        position: relative;
        z-index: 1;
    }

    .main-nav.active ul li a:hover,
    .main-nav.active ul li a.active {
        border-left-color: var(--primary-color);
        background: rgba(255, 107, 53, 0.15);
        padding-left: 1.5rem;
        color: var(--primary-color) !important;
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-shrink: 0;
        margin-left: 0.5rem;
        z-index: 100000 !important;
        position: relative;
    }
    
    body.menu-open {
        overflow: hidden !important;
        position: fixed;
        width: 100%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .header-container {
        flex-wrap: nowrap;
        padding: 0.75rem 15px;
        gap: 0.75rem;
    }

    .logo {
        flex: 1;
        min-width: 0;
        max-width: calc(100% - 60px);
    }

    .logo h1 {
        font-size: 1.4rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .stats-container {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
        white-space: nowrap;
        line-height: 1.2;
    }
    
    .stat-card {
        padding: 1.5rem 1rem;
        min-height: auto;
    }

    .stat-label {
        font-size: 1rem;
    }
}

/* Card Throwing Animation */
@keyframes cardThrow {
    0% {
        transform: translateX(0) translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateX(200px) translateY(-100px) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translateX(400px) translateY(0) rotate(360deg);
        opacity: 0;
    }
}

.card-throwing {
    animation: cardThrow 1s ease-out forwards;
}

