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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f7fa 100%);
    min-height: 100vh;
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    position: relative;
    overflow-x: hidden;
}

/* Pale, see-through background layers */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(100, 180, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(180, 100, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 40% 40%, rgba(255, 180, 255, 0.03) 0%, transparent 20%);
    pointer-events: none;
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
    z-index: -3;
    opacity: 0.7;
    animation: float 15s ease-in-out infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Enhanced Liquid Glass Effect - See-through */
.glass {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.glass::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.glass:hover::before {
    left: 100%;
}

.glass:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.7);
}

/* Container */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    background: transparent;
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1.5rem 0;
    transition: all 0.5s ease;
}

header.scrolled {
    background: rgba(240, 249, 255, 0.8);
    backdrop-filter: blur(20px);
}

/* Enhanced Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    border: 1px solid rgba(102, 126, 234, 0.3);
    transition: all 0.5s ease;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.3) 0%, transparent 30%);
    pointer-events: none;
    animation: rotate 15s linear infinite;
}

.logo-icon i {
    font-size: 2.2rem;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    animation: pulse 3s ease-in-out infinite;
}

.logo-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border-color: rgba(102, 126, 234, 0.4);
}

.logo-icon:hover i {
    animation: none;
}

.logo h1 {
    font-size: 2.4rem;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.logo p {
    opacity: 0.8;
    font-size: 0.95rem;
    font-weight: 400;
    color: #555;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: #555;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
    transition: width 0.3s ease;
}

nav a:hover {
    color: #333;
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #1976d2;
    font-weight: 600;
}

nav a.active::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(100, 180, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(180, 100, 255, 0.1) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #64b5f6, #4fc3f7, #81d4fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 4s ease infinite;
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.subtitle {
    font-size: 1.5rem;
    color: #555;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.2), rgba(180, 100, 255, 0.2));
    color: #333;
    border: 1px solid rgba(100, 180, 255, 0.4);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(100, 180, 255, 0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 700;
    backdrop-filter: blur(10px);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    transform: rotate(30deg);
    transition: transform 0.5s ease;
}

.btn-primary:hover::before {
    transform: rotate(30deg) translate(50%, -50%);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(100, 180, 255, 0.3);
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.25), rgba(180, 100, 255, 0.25));
    border-color: rgba(100, 180, 255, 0.5);
}

.btn-primary:active {
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);
    color: #555;
    border: 1px solid rgba(100, 180, 255, 0.2);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(100, 180, 255, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(100, 180, 255, 0.2);
}

.btn-secondary:active {
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 6rem 0;
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(100, 180, 255, 0.05) 0%, transparent 10%),
        radial-gradient(circle at 90% 80%, rgba(180, 100, 255, 0.05) 0%, transparent 10%);
    pointer-events: none;
    z-index: -2;
}

.features h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: #333;
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 2;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem;
    background: glass;
    border-radius: 20px;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.step:hover::before {
    transform: translateX(0);
}

.step:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.step-number {
    width: 75px;
    height: 75px;
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.2), rgba(180, 100, 255, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(100, 180, 255, 0.2);
    transition: all 0.4s ease;
    border: 1px solid rgba(100, 180, 255, 0.3);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 6px 20px rgba(100, 180, 255, 0.3);
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.25), rgba(180, 100, 255, 0.25));
}

.step-content h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.step-content p {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
}

/* Game Creation Section */
.game-creation {
    padding: 6rem 0;
    position: relative;
}

.game-creation::before {
    content: '';
    position: absolute;
    top: 0;
    left = 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 40%, rgba(100, 180, 255, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 70% 60%, rgba(180, 100, 255, 0.04) 0%, transparent 30%);
    pointer-events: none;
    z-index: -2;
}

.game-creation h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    color: #333;
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.creation-form {
    background: glass;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(25px);
    position: relative;
    overflow: hidden;
}

.creation-form::before {
    content: '';
    position: absolute;
    top = 0;
    left = 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.creation-form:hover::before {
    transform: translateX(0);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #555;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group label i {
    font-size: 1.2rem;
    color: #64b5f6;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 15px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.6);
    color: #333;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(100, 180, 255, 0.4);
    box-shadow: 0 0 0 3px rgba(100, 180, 255, 0.2);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    letter-spacing: 0.3px;
}

.wallet-disconnected,
.wallet-connected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    backdrop-filter: blur(15px);
}

.wallet-disconnected:hover,
.wallet-connected:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

.wallet-connected {
    background: linear-gradient(135deg, rgba(180, 220, 180, 0.3), rgba(150, 200, 150, 0.3));
    border-color: rgba(100, 180, 255, 0.3);
}

.wallet-connected span {
    color: #2e7d32;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wallet-disconnected span {
    color: #666;
}

.luck-roll {
    background: glass;
    border-radius: 20px;
    padding: 2rem;
    border-left: 4px solid rgba(255, 180, 100, 0.3);
    margin-top: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.luck-roll::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.6s ease;
}

.luck-roll:hover::before {
    left: 100%;
}

.luck-result {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.luck-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(to right, #ffb74d, #ff9800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 10px rgba(255, 152, 0, 0.2);
}

.luck-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
}

/* Dashboard Section */
.dashboard {
    padding: 6rem 0;
    position: relative;
}

.dashboard::before {
    content: '';
    position: absolute;
    top = 0;
    left = 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(100, 180, 255, 0.04) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(180, 100, 255, 0.04) 0%, transparent 20%);
    pointer-events: none;
    z-index: -2;
}

.dashboard h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dashboard-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #666;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    font-size: 1rem;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.tab-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;
}

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

.tab-btn.active,
.tab-btn:hover {
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.2), rgba(180, 100, 255, 0.2));
    color: #333;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(100, 180, 255, 0.25);
}

.tab-btn.active::before,
.tab-btn:hover::before {
    left: 100%;
}

.tab-content {
    display: none;
    position: relative;
    z-index: 2;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.6s ease;
}

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

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.game-card {
    background: glass;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    text-align: left;
}

.game-card::before {
    content: '';
    position: absolute;
    top = 0;
    left = 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.2), rgba(180, 100, 255, 0.2));
    transform: scaleY(0);
    transition: transform 0.4s ease;
}

.game-card:hover::before {
    transform: scaleY(1);
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.game-card.placeholder {
    background: rgba(255, 255, 255, 0.3);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    color: #888;
    padding: 3.5rem;
    text-align: center;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.game-card.placeholder:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.4);
}

.game-card.placeholder i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #bbb;
}

.game-status {
    font-weight: 600;
    margin-bottom: 1.2rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
}

.game-status.active {
    background: linear-gradient(135deg, rgba(180, 220, 180, 0.3), rgba(150, 200, 150, 0.3));
    color: #2e7d32;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.2);
}

.game-status.waiting {
    background: linear-gradient(135deg, rgba(255, 180, 100, 0.3), rgba(255, 165, 100, 0.3));
    color: #ef6c00;
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
}

.game-status.ended {
    background: linear-gradient(135deg, rgba(220, 180, 180, 0.3), rgba(200, 150, 150, 0.3));
    color: #c62828;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.2);
}

.game-card h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.game-card h3 i {
    font-size: 1.2rem;
    color: #64b5f6;
}

.game-card p {
    color: #666;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.game-card p i {
    width: 18px;
    text-align: center;
    font-size: 0.9rem;
    color: #64b5f6;
}

.game-card .btn-primary {
    width: 100%;
    padding: 0.9rem;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    position: relative;
    background: rgba(255, 255, 255, 0.7);
}

.about::before {
    content: '';
    position: absolute;
    top = 0;
    left = 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 30%, rgba(100, 180, 255, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 70% 70%, rgba(180, 100, 255, 0.08) 0%, transparent 30%);
    pointer-events: none;
    z-index: -2;
}

.about h2 {
    text-align: center;
    margin-bottom: 3.5rem;
    color: #333;
    font-size: 2.8rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-text h3 {
    color: #333;
    margin-bottom: 1.8rem;
    font-size: 1.8rem;
    position: relative;
    display: inline-block;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text ul {
    list-style: none;
}

.about-text li {
    padding: 0.8rem 0;
    border-left: 3px solid rgba(100, 180, 255, 0.3);
    padding-left: 1.2rem;
    margin-bottom: 1rem;
    position: relative;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.about-text li:before {
    content: "▹";
    color: rgba(100, 180, 255, 0.6);
    font-weight: bold;
    position: absolute;
    left = 0;
    top = 50%;
    transform: translateY(-50%);
}

.about-image {
    text-align: center;
    position: relative;
}

.Solana-logo {
    font-size: 6rem;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

/* Footer */
footer {
    background: rgba(240, 249, 255, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom = 0;
    left = 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, #64b5f6, #4fc3f7);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #888;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: #333;
    transform: translateX(5px);
}

.footer-section a i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #64b5f6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: #333;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: linear-gradient(135deg, rgba(100, 180, 255, 0.2), rgba(180, 100, 255, 0.2));
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 6px 20px rgba(100, 180, 255, 0.25);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.95rem;
    color: #999;
}

/* Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.6rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .creation-form {
        padding: 2rem;
    }

    .dashboard-tabs {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
    }

    .about-image {
        margin-top: 3rem;
    }

    .Solana-logo {
        font-size: 4.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .features h2,
    .game-creation h2,
    .dashboard h2,
    .about h2 {
        font-size: 2.2rem;
    }

    .hero-actions {
        gap: 0.8rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .form-group label {
        font-size: 1rem;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.9rem;
        font-size: 1rem;
    }

    .luck-value {
        font-size: 2.2rem;
    }
}