/* Surgicare ICU - Custom Styles */

/* Root Variables */
:root {
    --bg-light: #F5F5F5;
    --card-white: #FFFFFF;
    --text-dark: #333333;
    --gold: #D4AF37;
    --gold-light: #E6C555;
    --gold-dark: #B8941F;
    --emergency: #dc3545;
    --success: #198754;
    --info: #0dcaf0;
    --warning: #ffc107;
    --secondary: #6c757d;
}

/* Typography */
body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

/* Color Utilities */
.text-gold {
    color: var(--gold) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.bg-emergency {
    background-color: var(--emergency) !important;
}

.border-gold {
    border-color: var(--gold) !important;
}

/* Button Styles */
.btn-gold {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover,
.btn-gold:focus {
    background-color: var(--gold-dark);
    border-color: var(--gold-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

.btn-outline-gold {
    border-color: var(--gold);
    color: var(--gold);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover,
.btn-outline-gold:focus {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
    transform: translateY(-2px);
}

.btn-emergency {
    background-color: var(--emergency);
    border-color: var(--emergency);
    color: white;
    font-weight: 600;
    animation: pulse 2s infinite;
}

.btn-emergency:hover,
.btn-emergency:focus {
    background-color: #c82333;
    border-color: #bd2130;
    color: white;
}

.btn-white {
    background-color: white;
    border-color: white;
    color: var(--text-dark);
    font-weight: 600;
}

.btn-white:hover,
.btn-white:focus {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--text-dark);
}

.btn-outline-white {
    border-color: white;
    color: white;
    font-weight: 600;
}

.btn-outline-white:hover,
.btn-outline-white:focus {
    background-color: white;
    border-color: white;
    color: var(--text-dark);
}

/* Navigation */
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark) !important;
}

.navbar-logo {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 60px;
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        height: 50px;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold) !important;
}

/* Cards */
.card {
    background-color: var(--card-white);
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Service Cards */
.service-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #1a365d 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="medical-pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23medical-pattern)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    padding: 100px 0 50px;
}

.min-vh-90 {
    min-height: 90vh;
}

.hero-content {
    color: white;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 25px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 600px;
}

.hero-stats {
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

.hero-actions .btn {
    margin: 0.5rem 0.5rem 0.5rem 0;
    padding: 12px 25px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.hero-features {
    margin-top: 2rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.medical-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 400px;
    width: 100%;
    transform: translateY(-20px);
}

.medical-card .card-header {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: white;
    padding: 20px;
    border: none;
}

.medical-card .card-body {
    padding: 25px;
}

.facility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.facility-item {
    text-align: center;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.facility-item i {
    font-size: 1.5rem;
    display: block;
    margin-bottom: 8px;
}

.facility-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-info {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.trust-bar {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(10px);
}

.trust-item {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
}

/* Responsive Design for Hero */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-visual {
        margin-top: 3rem;
    }
    
    .medical-card {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .hero-overlay {
        padding: 80px 0 30px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .facility-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .trust-bar .row > div {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .medical-card {
        margin: 0 15px;
    }
    
    .medical-card .card-header,
    .medical-card .card-body {
        padding: 20px;
    }
}

/* Icons */
.about-icon,
.icu-management-icon,
.open-module-icon,
.contact-icon,
.second-opinion-icon,
.rewards-icon,
.featured-icon,
.specialist-icon,
.doctor-icon,
.facility-icon {
    font-size: 6rem;
    color: var(--gold);
    opacity: 0.8;
}

.service-icon-large {
    font-size: 4rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

/* Doctor Profiles */
.doctor-card {
    text-align: center;
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-icon {
    font-size: 4rem;
    color: white;
}

/* Testimonials */
.testimonial-card {
    border: none;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    font-size: 1.2rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--gold);
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

/* Blog Cards */
.blog-card {
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-category .badge {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.blog-meta {
    font-size: 0.85rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: white;
}

/* Newsletter Form */
.newsletter-form .form-control {
    border-radius: 25px;
    border: none;
    padding: 12px 20px;
}

.newsletter-form .btn {
    border-radius: 25px;
    padding: 12px 30px;
}

/* Contact Page Styles */
.contact-info-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quick-actions .action-button {
    margin-bottom: 1rem;
}

/* Form Styles */
.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.form-select {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 15px;
}

.form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

/* Process Steps */
.process-step {
    position: relative;
    margin-bottom: 2rem;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 1rem auto;
    font-size: 1.2rem;
}

.step-icon {
    font-size: 2.5rem;
}

/* Statistics Cards */
.stat-card {
    background: linear-gradient(135deg, var(--card-white) 0%, #f8f9fa 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
}

/* Feature Items */
.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feature-item i {
    margin-top: 0.2rem;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Value Cards */
.value-card {
    text-align: center;
    margin-bottom: 2rem;
}

.value-icon {
    font-size: 3rem;
    color: var(--gold);
}

/* Equipment Cards */
.equipment-item {
    transition: all 0.3s ease;
}

.equipment-item:hover {
    background-color: var(--gold);
    color: white;
}

.equipment-item:hover i {
    color: white !important;
}

/* Second Opinion Page */
.second-opinion-form {
    max-width: 800px;
    margin: 0 auto;
}

.specialist-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.specialist-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.specialist-image {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    display: flex;
    align-items: center;
    justify-content: center;
}

.specialist-icon {
    font-size: 3rem;
    color: white;
}

/* Insurance Cards */
.insurance-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.insurance-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.insurance-icon {
    font-size: 3rem;
}

.insurance-partner {
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.insurance-partner:hover {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.05);
    transform: translateY(-2px);
}

/* Blog Detail Page */
.article-header {
    margin-bottom: 2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.share-buttons .btn {
    margin: 0.25rem;
}

.info-box,
.warning-box {
    border-left: 4px solid var(--gold);
}

.warning-box {
    border-left-color: var(--warning);
}

.monitoring-card {
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.monitoring-card:hover {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.comment-item {
    background-color: #f8f9fa;
    transition: all 0.3s ease;
}

.comment-item:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

/* Rewards Page */
.points-display {
    background: linear-gradient(135deg, white, #f8f9fa);
    padding: 1rem;
    border-radius: 15px;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

.points-icon {
    font-size: 3rem;
}

.quiz-container {
    max-width: 600px;
    margin: 0 auto;
}

.quiz-question {
    margin: 2rem 0;
}

.quiz-option {
    margin: 0.5rem 0;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-option:hover {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.1);
}

.quiz-option.selected {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.2);
}

.quiz-option.correct {
    border-color: var(--success);
    background-color: rgba(25, 135, 84, 0.1);
}

.quiz-option.incorrect {
    border-color: var(--emergency);
    background-color: rgba(220, 53, 69, 0.1);
}

.completion-icon {
    font-size: 4rem;
    color: var(--gold);
}

.earning-method {
    text-align: center;
    transition: all 0.3s ease;
}

.earning-method:hover {
    transform: translateY(-5px);
    border-color: var(--gold);
}

.method-icon {
    font-size: 3rem;
}

.reward-item {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.reward-item:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.reward-icon {
    font-size: 3rem;
}

.leaderboard-item {
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background-color: rgba(212, 175, 55, 0.1) !important;
}

.rank {
    width: 40px;
    text-align: center;
}

/* ICU Management Page */
.service-provision-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-provision-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.provision-icon {
    font-size: 3rem;
}

.responsibility-item {
    text-align: center;
    margin-bottom: 2rem;
}

.responsibility-icon {
    font-size: 3rem;
}

.partnership-inquiry-form .form-control {
    border-radius: 25px;
}

/* Open Module Page */
.open-module-features .feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: white;
    font-size: 1.5rem;
}

.feature-content {
    flex-grow: 1;
}

.diagram-card {
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.diagram-card:hover {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.benefit-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-icon,
    .about-icon,
    .icu-management-icon,
    .open-module-icon,
    .contact-icon,
    .second-opinion-icon,
    .rewards-icon {
        font-size: 4rem;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .section-title::after {
        left: 0;
        transform: none;
    }
    
    .hero-buttons .btn {
        min-width: auto;
        margin: 0.25rem;
    }
    
    .points-display {
        text-align: center;
    }
    
    .quiz-navigation {
        text-align: center;
    }
    
    .quiz-navigation .btn {
        margin: 0.25rem;
    }
}

@media (max-width: 576px) {
    .display-5 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .category-filter {
        justify-content: center;
    }
    
    .category-filter .btn {
        margin: 0.25rem;
        font-size: 0.85rem;
    }
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .cta-section {
        display: none !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .page-header {
        background: none !important;
    }
}

/* Gallery Page */
.gallery-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.gallery-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.gallery-item {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-item.hidden {
    opacity: 0;
    pointer-events: none;
}

.gallery-tags {
    margin-top: 1rem;
}

.gallery-tags .badge {
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.bg-outline-gold {
    background-color: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}

.image-placeholder {
    border-radius: 10px;
    border: 2px dashed rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.gallery-card:hover .image-placeholder {
    border-color: var(--gold);
    background-color: rgba(212, 175, 55, 0.05);
}

.category-filter .btn.active {
    background-color: var(--gold);
    border-color: var(--gold);
    color: white;
}

/* Game Styles */
.game-card {
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.game-icon {
    font-size: 3rem;
    color: var(--gold);
}

/* Tic-Tac-Toe Styles */
.tic-tac-toe-board {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    max-width: 200px;
    margin: 0 auto;
}

.tic-cell {
    aspect-ratio: 1;
    background-color: #f8f9fa;
    border: 2px solid var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tic-cell:hover {
    background-color: rgba(212, 175, 55, 0.1);
}

.tic-cell.winner {
    background-color: var(--gold);
    color: white;
}

/* Memory Game Styles */
.memory-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    max-width: 250px;
    margin: 0 auto;
}

.memory-card {
    aspect-ratio: 1;
    background-color: var(--gold);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.memory-card.flipped {
    background-color: white;
    border: 2px solid var(--gold);
    color: var(--gold);
}

.memory-card.matched {
    background-color: var(--success);
    pointer-events: none;
}



.wheel-section {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.wheel-section:nth-child(1) {
    background-color: #e74c3c;
    transform: rotate(0deg);
}

.wheel-section:nth-child(2) {
    background-color: #3498db;
    transform: rotate(60deg);
}

.wheel-section:nth-child(3) {
    background-color: #2ecc71;
    transform: rotate(120deg);
}

.wheel-section:nth-child(4) {
    background-color: #f39c12;
    transform: rotate(180deg);
}

.wheel-section:nth-child(5) {
    background-color: #9b59b6;
    transform: rotate(240deg);
}

.wheel-section:nth-child(6) {
    background-color: #e67e22;
    transform: rotate(300deg);
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 30px solid var(--gold);
    z-index: 10;
}

.wheel-section {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
    text-align: center;
    padding: 10px 5px;
}

.wheel-section:nth-child(1) {
    background-color: #ff6b6b;
    transform: rotate(0deg);
}

.wheel-section:nth-child(2) {
    background-color: #4ecdc4;
    transform: rotate(60deg);
}

.wheel-section:nth-child(3) {
    background-color: #45b7d1;
    transform: rotate(120deg);
}

.wheel-section:nth-child(4) {
    background-color: #96ceb4;
    transform: rotate(180deg);
}

.wheel-section:nth-child(5) {
    background-color: #feca57;
    transform: rotate(240deg);
}

.wheel-section:nth-child(6) {
    background-color: #ff9ff3;
    transform: rotate(300deg);
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid var(--gold);
    z-index: 10;
}

.winner-icon {
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --gold: #B8941F;
        --text-dark: #000000;
    }
    
    .card {
        border: 2px solid #000000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Selection */
::selection {
    background-color: var(--gold);
    color: white;
}

::-moz-selection {
    background-color: var(--gold);
    color: white;
}
