/* ===== Royal Casino Template - Main Styles ===== */
/* 豪华赌场风格模板 - 金色和深色系 */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0e1a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Header ===== */
.royal-header {
    background: linear-gradient(135deg, #1a1f3a 0%, #2d1b4e 100%);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border-bottom: 3px solid #ffd700;
}

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

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

.royal-logo a {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.royal-nav ul {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.royal-nav a {
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.royal-nav a:hover,
.royal-nav a.active {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0a0e1a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.nav-highlight {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #ffffff !important;
}

.nav-highlight:hover {
    background: linear-gradient(135deg, #ee5a6f, #ff6b6b);
    box-shadow: 0 6px 20px rgba(238, 90, 111, 0.5);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-icon {
    display: block;
    width: 28px;
    height: 3px;
    background: #ffd700;
    margin: 5px 0;
    border-radius: 3px;
    transition: all 0.3s;
}

/* ===== Hero Section ===== */
.royal-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 50%, #2d1b4e 100%);
    position: relative;
    overflow: hidden;
}

.royal-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 237, 78, 0.2));
    border: 2px solid #ffd700;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 20px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: #b8c5d6;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #b8c5d6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin: 30px 0;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0a0e1a;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(238, 90, 111, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(238, 90, 111, 0.6);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #ffffff;
}

.feature-icon {
    color: #ffd700;
    font-weight: 900;
}

/* ===== Section Title ===== */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 237, 78, 0.2));
    border: 2px solid #ffd700;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 15px;
}

.section-title h2 {
    font-size: 42px;
    font-weight: 900;
    margin: 15px 0;
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    font-size: 18px;
    color: #b8c5d6;
}

/* ===== Games Section ===== */
.royal-games {
    padding: 80px 0;
    background: #0f1423;
}

.games-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.game-showcase-card {
    background: linear-gradient(135deg, #1a1f3a, #2d1b4e);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.2);
    transition: all 0.3s;
}

.game-showcase-card:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.game-image {
    position: relative;
    overflow: hidden;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.game-showcase-card:hover .game-overlay {
    opacity: 1;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0a0e1a;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 18px;
    transform: scale(0.8);
    transition: all 0.3s;
}

.game-showcase-card:hover .btn-play {
    transform: scale(1);
}

.game-info {
    padding: 25px;
}

.game-info h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.game-info h3 a:hover {
    color: #ffd700;
}

.game-info p {
    color: #b8c5d6;
    margin-bottom: 15px;
    line-height: 1.6;
}

.game-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #8892a4;
}

/* ===== Promotions Section ===== */
.royal-promotions {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 100%);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.promo-card {
    background: linear-gradient(135deg, #1a1f3a, #2d1b4e);
    border-radius: 20px;
    padding: 35px;
    border: 2px solid rgba(255, 215, 0, 0.2);
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.promo-card:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.promo-featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #2d1b4e, #1a1f3a);
    border-color: #ffd700;
}

.promo-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 900;
    font-size: 14px;
}

.promo-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.promo-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffd700;
}

.promo-desc {
    color: #b8c5d6;
    margin-bottom: 20px;
    line-height: 1.6;
}

.promo-benefits {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.promo-benefits li {
    padding: 10px 0;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.btn-promo {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0a0e1a;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* ===== News Section ===== */
.royal-news {
    padding: 80px 0;
    background: #0f1423;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: linear-gradient(135deg, #1a1f3a, #2d1b4e);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.news-image {
    overflow: hidden;
}

.news-content {
    padding: 25px;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-content h3 a:hover {
    color: #ffd700;
}

.news-content p {
    color: #b8c5d6;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #8892a4;
}

/* ===== Features Section ===== */
.royal-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: linear-gradient(135deg, #1a1f3a, #2d1b4e);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 2px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.feature-icon-wrapper {
    font-size: 64px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffd700;
}

.feature-card p {
    color: #b8c5d6;
    line-height: 1.6;
}

/* ===== Article List ===== */
.royal-article-list {
    padding: 60px 0;
    background: #0f1423;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 10px;
    margin-bottom: 30px;
}

.breadcrumb a {
    color: #ffd700;
}

.breadcrumb .separator {
    color: #8892a4;
}

.breadcrumb .current {
    color: #b8c5d6;
}

.article-header {
    text-align: center;
    margin-bottom: 50px;
}

.article-header h1 {
    font-size: 42px;
    font-weight: 900;
    color: #ffd700;
    margin-bottom: 15px;
}

.article-header p {
    font-size: 18px;
    color: #b8c5d6;
}

.article-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.article-grid {
    display: grid;
    gap: 30px;
}

.article-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    background: linear-gradient(135deg, #1a1f3a, #2d1b4e);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.1);
    transition: all 0.3s;
}

.article-card:hover {
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.article-image {
    overflow: hidden;
}

.article-content {
    padding: 25px 25px 25px 0;
}

.article-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.article-content h2 a:hover {
    color: #ffd700;
}

.article-excerpt {
    color: #b8c5d6;
    margin-bottom: 15px;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #8892a4;
}

.btn-read-more {
    display: inline-block;
    color: #ffd700;
    font-weight: 700;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.btn-read-more:hover {
    border-bottom-color: #ffd700;
}

/* Sidebar */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: linear-gradient(135deg, #1a1f3a, #2d1b4e);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.sidebar-widget h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.hot-articles {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hot-article-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s;
}

.hot-article-item:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateX(5px);
}

.hot-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 10px;
    font-weight: 900;
    font-size: 18px;
    color: #0a0e1a;
    flex-shrink: 0;
}

.hot-info h4 {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 5px;
    line-height: 1.4;
}

.hot-date {
    font-size: 12px;
    color: #8892a4;
}

.sidebar-promo {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0a0e1a;
}

.sidebar-promo h3 {
    color: #0a0e1a;
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

.btn-sidebar-promo {
    display: block;
    background: #0a0e1a;
    color: #ffd700;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s;
}

.btn-sidebar-promo:hover {
    background: #1a1f3a;
    transform: translateY(-2px);
}

/* Pagination */
.pagination-wrapper {
    margin: 50px 0;
    text-align: center;
}

.pagination-wrapper ul {
    display: inline-flex;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.pagination-wrapper li a,
.pagination-wrapper li span {
    display: block;
    background: linear-gradient(135deg, #1a1f3a, #2d1b4e);
    padding: 12px 20px;
    border-radius: 10px;
    color: #b8c5d6;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.pagination-wrapper li a:hover,
.pagination-wrapper li.active span {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0a0e1a;
    border-color: #ffd700;
    transform: translateY(-2px);
}

/* ===== Footer ===== */
.royal-footer {
    background: linear-gradient(135deg, #1a1f3a 0%, #0a0e1a 100%);
    padding: 60px 0 30px;
    border-top: 3px solid #ffd700;
}

.footer-content {
    margin-bottom: 40px;
}

.friendlink-section {
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: 15px;
    border: 2px solid rgba(255, 215, 0, 0.1);
}

.friendlink-section h3 {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 20px;
}

.friendlink-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friendlink-list a {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 8px;
    color: #ffffff;
    transition: all 0.3s;
}

.friendlink-list a:hover {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 20px;
    color: #ffd700;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-desc {
    color: #b8c5d6;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #b8c5d6;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.footer-contact p {
    color: #b8c5d6;
    margin-bottom: 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
}

.footer-copyright p {
    color: #8892a4;
}

.footer-copyright a {
    color: #ffd700;
}

.footer-sitemap a {
    color: #ffd700;
    font-weight: 600;
}

/* ===== Mobile Sidebar ===== */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #1a1f3a, #2d1b4e);
    z-index: 2000;
    transition: all 0.3s;
    overflow-y: auto;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.2);
}

.sidebar-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

.sidebar-nav ul {
    list-style: none;
    padding: 20px;
}

.sidebar-nav li {
    margin-bottom: 10px;
}

.sidebar-nav a {
    display: block;
    padding: 15px;
    color: #ffffff;
    border-radius: 10px;
    transition: all 0.3s;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0a0e1a;
}

.sidebar-footer {
    padding: 20px;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
}

.btn-sidebar {
    display: block;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    font-weight: 700;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.btn-gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #0a0e1a;
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        display: none;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .promo-featured {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .section-title h2 {
        font-size: 32px;
    }
    
    .games-showcase,
    .news-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .article-card {
        grid-template-columns: 1fr;
    }
    
    .article-content {
        padding: 25px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
