@charset "utf-8";
/*
    Theme Name: 神殿棋牌
    Theme URI: https://www.shendianqipai.com/
    Author: 阿叶
    Version: v1.0.0
*/

:root {
    --primary-color: #28a745;
    --secondary-color: #4caf50;
    --accent-color: #81c784;
    --dark-color: #292f36;
    --light-color: #f7f7f7;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --radius: 12px;
    --shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}


.sd-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


.sd-header {
    background: linear-gradient(135deg, var(--dark-color) 0%, #1a1a2e 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.sd-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sd-logo {
    display: flex;
    align-items: center;
}

.sd-logo img {
    height: 60px;
    margin-right: 0.75rem;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.sd-logo span {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sd-nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.sd-nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1rem;
}

.sd-nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.sd-nav-link.sd-active {
    color: var(--primary-color);
}

.sd-nav-link.sd-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: 100%;
        left: 0;
    }
}

.sd-header-actions {
    display: flex;
    gap: 1rem;
}


.sd-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sd-btn i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.sd-btn::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: left 0.5s ease;
    z-index: -1;
}

.sd-btn:hover::before {
    left: 100%;
}

.sd-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #4caf50);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.sd-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
}

.sd-btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.sd-btn-outline:hover {
    background: linear-gradient(135deg, var(--primary-color), #4caf50);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.4);
}

.sd-btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), #66bb6a);
    color: white;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.sd-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
}

.sd-btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.sd-btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}


.sd-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.sd-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>');
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    100% {
        transform: translateY(-50px) rotate(360deg);
    }
}

.sd-banner-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.sd-banner-content {
    flex: 1;
    animation: fadeInLeft 1s ease;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sd-banner-title {
    margin-bottom: 2rem;
}

.sd-banner-title-primary {
    display: block;
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-banner-title-secondary {
    display: block;
    font-size: 1.8rem;
    font-weight: 500;
    opacity: 0.9;
}

.sd-banner-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.8;
}

.sd-banner-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.sd-banner-stats {
    display: flex;
    gap: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.sd-stat-item {
    text-align: center;
    min-width: 120px;
}

.sd-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.sd-stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.sd-banner-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.sd-banner-image {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(5deg);
}

.sd-banner-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}


section {
    padding: 6rem 0;
}

.sd-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.sd-section-title {
    font-size: 2.8rem;
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.sd-section-subtitle {
    font-size: 1.2rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}


.sd-games {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.sd-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.sd-game-card {
    background-color: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sd-game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.sd-game-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.sd-game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.sd-game-card:hover .sd-game-card-image img {
    transform: scale(1.1);
}




.sd-game-card-content {
    padding: 2rem;
}

.sd-game-card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.sd-game-card-description {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.sd-game-card-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.sd-stat i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
}


.sd-features {
    background-color: white;
}

.sd-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.sd-feature-item {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.sd-feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.sd-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.sd-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.sd-feature-item:hover .sd-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.sd-feature-icon i {
    font-size: 2rem;
}

.sd-feature-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
    color: var(--dark-color);
}

.sd-feature-description {
    color: var(--gray-color);
    font-size: 0.95rem;
    line-height: 1.7;
}


.sd-about {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.sd-about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.sd-about-image {
    flex: 1;
    max-width: 550px;
    position: relative;
}

.sd-about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-color);
    border-radius: var(--radius);
    z-index: -1;
}

.sd-about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.sd-about-image:hover img {
    transform: scale(1.02);
}

.sd-about-text {
    flex: 1;
    min-width: 300px;
}




.sd-about-description {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.8;
    font-size: 1.05rem;
}


.sd-download {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.sd-download .sd-section-title {
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-download .sd-section-title::after {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.sd-download .sd-section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.sd-download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.sd-download-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-align: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.sd-download-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.sd-download-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3);
    transition: var(--transition);
}

.sd-download-card:hover .sd-download-icon {
    transform: scale(1.1) rotate(5deg);
}

.sd-download-icon i {
    font-size: 2.5rem;
}

.sd-download-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    color: white;
}

.sd-download-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.sd-download .sd-btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.sd-testimonials {
    background-color: white;
}

.sd-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.sd-testimonial-card {
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

.sd-testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.sd-testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.sd-testimonial-rating {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.sd-testimonial-rating i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
}

.sd-testimonial-text {
    color: var(--gray-color);
    margin-bottom: 2.5rem;
    font-style: italic;
    line-height: 1.8;
    font-size: 1.05rem;
}

.sd-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sd-author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.sd-author-name {
    font-weight: bold;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.sd-author-title {
    font-size: 0.9rem;
    color: var(--gray-color);
}

.sd-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 2rem 0;
}

.sd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.sd-footer-copyright {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.sd-footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: right;
    max-width: 500px;
}

@media (max-width: 768px) {
    .sd-header-inner {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .sd-nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .sd-banner-inner {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .sd-banner-title-primary {
        font-size: 2.8rem;
    }
    
    .sd-banner-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .sd-banner-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .sd-section-title {
        font-size: 2.2rem;
    }
    
    .sd-about-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .sd-footer-content {
        flex-direction: column;
    }
    
    .sd-footer-links {
        flex-direction: column;
        gap: 2.5rem;
    }
    
    .sd-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .sd-banner {
        padding: 6rem 0;
    }
}
